You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/modules.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -134,9 +134,9 @@ Creates a parse function to be used later to parse CSS selectors.
134
134
| Name | Type | Description |
135
135
| :------ | :------ | :------ |
136
136
|`options`|`Object`| - |
137
-
|`options.strict?`|`boolean`| CSS selector parser in modern browsers is very forgiving. For instance, it works fine with unclosed attribute selectors: `"[attr=value"`. Set to `false` in order to mimic browser behaviour. **`Default`**```ts true```|
138
-
|`options.substitutes?`|`boolean`| Flag to enable substitutes. This is not part of CSS syntax, but rather a useful feature to pass variables into CSS selectors. **`Example`**```ts "[attr=$variable]"```**`Default`**```ts fase```|
139
-
|`options.syntax?`|[`CssLevel`](modules.md#csslevel)\|[`SyntaxDefinition`](interfaces/SyntaxDefinition.md)| CSS Syntax options to be used for parsing. Can either be one of the predefined CSS levels ([CssLevel](modules.md#csslevel)) or a more detailed syntax definition ([SyntaxDefinition](interfaces/SyntaxDefinition.md)). **`Default`**```ts "latest"```|
137
+
|`options.strict?`|`boolean`| CSS selector parser in modern browsers is very forgiving. For instance, it works fine with unclosed attribute selectors: `"[attr=value"`. Set to `false` in order to mimic browser behaviour. Default: `true`|
138
+
|`options.substitutes?`|`boolean`| Flag to enable substitutes. This is not part of CSS syntax, but rather a useful feature to pass variables into CSS selectors. Default: `false`**`Example`**```ts "[attr=$variable]" ```|
139
+
|`options.syntax?`|[`CssLevel`](modules.md#csslevel)\|[`SyntaxDefinition`](interfaces/SyntaxDefinition.md)| CSS Syntax options to be used for parsing. Can either be one of the predefined CSS levels ([CssLevel](modules.md#csslevel)) or a more detailed syntax definition ([SyntaxDefinition](interfaces/SyntaxDefinition.md)). Default: `"latest"`|
0 commit comments