propertyGet method

JSAny? propertyGet(
  1. String property
)

Returns the value of the specified property for the first (non-null) element in the selection.

selection.propertyGet("checked"); // true, perhaps

This is generally useful only if you know the selection contains exactly one element.

Implementation

JSAny? propertyGet(String property) {
  return (node() as JSObject?)?[property];
}