Menu

disabled

An HTML content command for setting or removing the "disabled" attribute on an HTML element.

The value of this command's primary attribute is interpreted as a Boolean value. If the value resolves into true, the "disabled" attribute is set. Otherwise the attribute is not set, or removed if the host element currently has it.

This command has a priority of 15.

Examples

The disabled command exists for conditional disabling of any  input elements on a screen. If its primary attribute resolves into true, the input will be disabled, otherwise not.

<input name="maximum" type="number" dyn-disabled="isUnlimited"/>

Comments

0 comments