RadioNodeList extension type
The RadioNodeList
interface represents a collection of elements in a
form
returned by a call to HTMLFormControlsCollection.namedItem.
API documentation sourced from MDN Web Docs.
- on
- Implemented types
- Available extensions
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- length → int
-
The
NodeList.length
property returns the number of items in a NodeList.no setterinherited - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value ↔ String
-
If the underlying element collection contains radio buttons, the
RadioNodeList.value
property represents the checked radio button. On retrieving thevalue
property, thevalue
of the currentlychecked
radio button is returned as a string. If the collection does not contain any radio buttons or none of the radio buttons in the collection is inchecked
state, the empty string is returned. On setting thevalue
property, the first radio button input element whosevalue
property is equal to the new value will be set tochecked
.getter/setter pair
Methods
-
item(
int index) → Node? -
Returns a node from a
NodeList
by index. This method doesn't throw exceptions as long as you provide arguments. A value ofnull
is returned if the index is out of range, and aTypeError
is thrown if no argument is provided.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited