matches property

List<String>? get matches

Specifies which pages this user script will be injected into. See Match Patterns for more details on the syntax of these strings. This property must be specified for ${ref:register}.

Implementation

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

Implementation

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