mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
Added pressed, active and disabled states for button.
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user