diff --git a/iconbutton/lib/icon-button.ts b/iconbutton/lib/icon-button.ts index 267b4f15c1..f41298f20a 100644 --- a/iconbutton/lib/icon-button.ts +++ b/iconbutton/lib/icon-button.ts @@ -32,7 +32,8 @@ export class IconButton extends LitElement { /** * Flips the icon if it is in an RTL context at startup. */ - @property({type: Boolean}) flipIconInRtl = false; + @property({type: Boolean, attribute: 'flip-icon-in-rtl'}) + flipIconInRtl = false; /** * Sets the underlying `HTMLAnchorElement`'s `href` resource attribute.