docs: selector engine script type (#5450)
This commit is contained in:
parent
7e7d3db96d
commit
529e39872f
|
|
@ -57,7 +57,7 @@ Name that is used in selectors as a prefix, e.g. `{name: 'foo'}` enables `foo=my
|
||||||
contain `[a-zA-Z0-9_]` characters.
|
contain `[a-zA-Z0-9_]` characters.
|
||||||
|
|
||||||
### param: Selectors.register.script
|
### param: Selectors.register.script
|
||||||
* langs: java, js
|
* langs: js
|
||||||
- `script` <[function]|[string]|[Object]>
|
- `script` <[function]|[string]|[Object]>
|
||||||
- `path` <[path]> Path to the JavaScript file. If `path` is a relative path, then it is resolved relative to the
|
- `path` <[path]> Path to the JavaScript file. If `path` is a relative path, then it is resolved relative to the
|
||||||
current working directory. Optional.
|
current working directory. Optional.
|
||||||
|
|
@ -65,6 +65,12 @@ contain `[a-zA-Z0-9_]` characters.
|
||||||
|
|
||||||
Script that evaluates to a selector engine instance.
|
Script that evaluates to a selector engine instance.
|
||||||
|
|
||||||
|
### param: Selectors.register.script
|
||||||
|
* langs: csharp, java
|
||||||
|
- `script` <[string]|[path]>
|
||||||
|
|
||||||
|
Script that evaluates to a selector engine instance.
|
||||||
|
|
||||||
### option: Selectors.register.contentScript
|
### option: Selectors.register.contentScript
|
||||||
- `contentScript` <[boolean]>
|
- `contentScript` <[boolean]>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue