Skip to content

Commit

Permalink
docs: selector engine script type (#5450)
Browse files Browse the repository at this point in the history
  • Loading branch information
yury-s committed Feb 12, 2021
1 parent 7e7d3db commit 529e398
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion docs/src/api/class-selectors.md
Expand Up @@ -57,14 +57,20 @@ Name that is used in selectors as a prefix, e.g. `{name: 'foo'}` enables `foo=my
contain `[a-zA-Z0-9_]` characters.

### param: Selectors.register.script
* langs: java, js
* langs: js
- `script` <[function]|[string]|[Object]>
- `path` <[path]> Path to the JavaScript file. If `path` is a relative path, then it is resolved relative to the
current working directory. Optional.
- `content` <[string]> Raw script content. Optional.

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
- `contentScript` <[boolean]>

Expand Down

0 comments on commit 529e398

Please sign in to comment.