disabled property

disabled property

false if the style sheet is applied to the document. true if it is not. Modifying this attribute may cause a new resolution of style for the document. A stylesheet only applies if both an appropriate medium definition is present and the disabled attribute is false. So, if the media doesn’t apply to the current user agent, the disabled attribute is ignored.

Definition:

@property
def disabled(self):
    ...
@disabled.setter
def disabled(self, value):
    ...

See Also