selected property

selected property

Represents the current state of the corresponding form control, in an interactive user agent. Changing this attribute changes the state of the form control, but does not change the value of the HTML selected attribute of the element.

Definition:

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

See Also