css property

List<String>? get css

Matches if all of the CSS selectors in the array match displayed elements in a frame with the same origin as the page's main frame. All selectors in this array must be compound selectors to speed up matching. Note: Listing hundreds of CSS selectors or listing CSS selectors that match hundreds of times per page can slow down web sites.

Implementation

List<String>? get css =>
    _wrapped.css?.toDart.cast<JSString>().map((e) => e.toDart).toList();
set css (List<String>? v)

Implementation

set css(List<String>? v) {
  _wrapped.css = v?.toJSArray((e) => e.toJS);
}