Clear button in V4


#1

Hi,
how to apply clear in ionic V4?

<ion-button (click)='logout()' clear>Logout</ion-button>

or

<ion-button clear (click)='logout()'>Logout</ion-button>

do not work for me

What is the solution?

thank you in advance.

Ludo


#2

You can use the fill property now, e.g:

<ion-button fill="clear">

#3

great thank you it works :blush:
it should be added to the doc ionic 4 because it is always noted clear as ionic 3