feat(item): add hover and focused states (#18606)

references #18279 references #17624
This commit is contained in:
Brandy Carney
2019-06-25 17:29:14 -04:00
committed by GitHub
parent ad00679da9
commit 8a88dd25b6
10 changed files with 139 additions and 27 deletions

View File

@ -94,7 +94,11 @@ export class Checkbox implements ComponentInterface {
}
@Watch('disabled')
emitStyle() {
disabledChanged() {
this.emitStyle();
}
private emitStyle() {
this.ionStyle.emit({
'checkbox-checked': this.checked,
'interactive-disabled': this.disabled,