Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
floating ion-input with icon
import { Component } from '@angular/core';
@Component({
selector: 'app-home',
templateUrl: 'home.page.html',
styleUrls: ['home.page.scss'],
})
export class HomePage {
isLabelActive: Boolean = false;
constructor () { }
toggleIcon(evt) {
this.isLabelActive = !this.isLabelActive;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.