Abstract
Input value type.
Readonly
Abstract
readAn AfterEvent
keeper of active roles.
The [AfterEvent__symbol]
method returns this value.
Static
[Abstract
addAdds named role to control.
The named role becomes activate. To deactivate it the returned supply has to be cut off.
The same role may be added multiple times. In that case the role will be deactivated once all role supplies cut off.
A name of the role to add.
A role supply. Removes the added role once cut off.
Abstract
whenRegisters an activator of the given role.
The given activator would be issued once the given role activated. A supply instance returned by activator call will be cut off once the role deactivated.
Target role name.
Role activator.
Activator supply. Removes the registered activator once cut off.
Generated using TypeDoc
A role of input control.
Contains arbitrary named roles. A special role
'default'
considered active when no other roles activated.Roles may be used to conditionally activate other input aspects of the control.