js property
List<ScriptSource> ?
get
js
The list of ScriptSource objects defining sources of scripts to be injected into matching pages. This property must be specified for ${ref:register}, and when specified it must be a non-empty array.
Implementation
List<ScriptSource>? get js => _wrapped.js?.toDart
.cast<$js.ScriptSource>()
.map((e) => ScriptSource.fromJS(e))
.toList();
set
js
(List<ScriptSource> ? v)
Implementation
set js(List<ScriptSource>? v) {
_wrapped.js = v?.toJSArray((e) => e.toJS);
}