Created
October 26, 2018 22:00
-
-
Save chrisgriffith/83d7242f9970b79e893274cf7f1fa73d to your computer and use it in GitHub Desktop.
floating ion-input with icon
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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