Only for grey buttons, but can expand. Sets a selected class.
Details
Details
- Reviewers
epriestley - Commits
- rP11046d495dbf: Add a selected button ui state
Review new changes in UIExamples.
Diff Detail
Diff Detail
- Repository
- rP Phabricator
- Branch
- selected-button (branched from master)
- Lint
Lint Passed - Unit
Tests Passed - Build Status
Buildable 18220 Build 24503: Run Core Tests Build 24502: arc lint + arc unit
Event Timeline
webroot/rsrc/js/phuix/PHUIXButtonView.js | ||
---|---|---|
50–54 | Simpler as: this._selected = selected; JX.DOM.alterClass(node, 'selected', this._selected); |