From 529e39872f7d25edfe1bc7758e1339f5591c1691 Mon Sep 17 00:00:00 2001 From: Yury Semikhatsky Date: Fri, 12 Feb 2021 14:30:16 -0800 Subject: [PATCH] docs: selector engine script type (#5450) --- docs/src/api/class-selectors.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/src/api/class-selectors.md b/docs/src/api/class-selectors.md index 8a95522a9d..e62cd53a84 100644 --- a/docs/src/api/class-selectors.md +++ b/docs/src/api/class-selectors.md @@ -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. ### 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. @@ -65,6 +65,12 @@ contain `[a-zA-Z0-9_]` characters. 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]>