Added pressed, active and disabled states for button.

This commit is contained in:
Nedyalko Nikolov
2016-10-21 14:26:37 +03:00
parent 8d178754a2
commit a63f46ee83
4 changed files with 94 additions and 7 deletions

View File

@@ -82,7 +82,7 @@ export class Button extends common.Button {
}
}
@PseudoClassHandler("normal", "highlighted")
@PseudoClassHandler("normal", "highlighted", "pressed", "active")
_updateHandler(subscribe: boolean) {
if (subscribe) {
if (!this._stateChangedHandler) {