3.2.5 • Published 3 months ago

@dreamworld/dw-icon-button v3.2.5

Weekly downloads
110
License
ISC
Repository
github
Last release
3 months ago

dw-icon-button

Why don't we use mwc-icon-button?

  • We created dw-icon to have extended icon set, sepecific to the app. But, those icons we can't be used with mwc-icon-button.
  • We found issue with mwc-icon-button that it can't be resized easily.

Usage

<dw-icon-button icon="" disabled></dw-icon-button>

Customize size

  • Integrater/User should write width & height css for dw-icon-button.

We don't support icon in light-dom (slot) as supported by mwc-icon-button

Properties

  • icon
  • disabled
  • primary Set when icon is to be shown in primary color.
  • secondary Set when icon is to be shown in secondary color.
  • iconSize, No default value. So, default size of dw-icon is used (which is 24px.)
  • buttonSize, No default value. So, default icon container size is it's parent height and width. If buttonSize is exists then icon container size base on buttonSize property.
  • title: When it's provided, on mouse enter, shows title text as a tooltip.
  • disabledTitle: When it's provided and icon is disable, on mouse enter, shows disabledTitle text as a tooltip.
  • placement: Set tooltip position. Default value is top.

  • Note: The "disabledTitle" property displays the tooltip only when the icon-button is disabled, whereas the "title" property displays the tooltip when the icon-button is not disabled. Set both properties to show the tooltip in both cases.

Custom CSS Properties

--dw-icon-color-active
--dw-icon-color
--dw-icon-color-disabled
3.2.5

3 months ago

3.2.2

8 months ago

3.2.4

7 months ago

3.2.3

8 months ago

3.2.1

1 year ago

3.0.3-ssr.1

1 year ago

3.1.0

1 year ago

3.0.3

1 year ago

3.0.2

1 year ago

3.0.1

1 year ago

3.0.1-symbol.1

1 year ago

3.0.0

2 years ago

2.4.0

2 years ago

2.3.1

2 years ago

2.3.0

2 years ago

2.2.2

2 years ago

2.2.1

2 years ago

2.2.0

2 years ago

2.1.2

3 years ago

2.1.1

3 years ago

2.1.3

3 years ago

2.1.0

3 years ago

1.5.1

3 years ago

1.5.0

3 years ago

1.3.2

3 years ago

1.4.0

3 years ago

1.3.1

4 years ago

1.2.0-kerika.2

4 years ago

1.3.0

4 years ago

1.2.0-kerika.1

4 years ago

1.2.2-test.1

4 years ago

1.2.1

4 years ago

1.3.0-kerika.4

4 years ago

1.3.0-kerika.3

4 years ago

1.3.0-kerika.2

4 years ago

1.2.0

4 years ago

1.3.0-kerika.1

4 years ago

1.1.8

4 years ago

1.1.7

4 years ago

1.1.6

4 years ago

1.1.9-kerika.1

4 years ago

1.1.6-css-typo.1

4 years ago

1.1.5

4 years ago

1.1.4

4 years ago

1.1.3

4 years ago

1.1.2

4 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.0

5 years ago