- We created
dw-iconto have extended icon set, sepecific to the app. But, those icons we can't be used withmwc-icon-button. - We found issue with
mwc-icon-buttonthat it can't be resized easily.
<dw-icon-button icon="" disabled></dw-icon-button>- Integrater/User should write
width&heightcss fordw-icon-button.
We don't support icon in light-dom (
slot) as supported by [mwc-icon-button]
-
icon -
disabled -
primarySet when icon is to be shown in primary color. -
secondarySet when icon is to be shown in secondary color. -
iconSize, No default value. So, default size ofdw-iconis 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 onbuttonSizeproperty. -
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.
--dw-icon-color-active
--dw-icon-color
--dw-icon-color-disabled