Skip to content

Feature: button ion-button icon-only is now a slot attribute of child element ion-icon #107

Description

@dagobit

If you used the directive "icon-only" within the button element:

<button ion-button icon-only>
 <ion-icon name="star"></ion-icon>
</button>

it now should be:

<ion-button>
 <ion-icon name="star" slot="icon-only"></ion-icon>
</ion-button>

currently any rule is replacing it, the result of ... --fix is:

<ion-button icon-only>
 <ion-icon name="star"></ion-icon>
</ion-button>

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions