mirror of
https://github.com/qlik-oss/nebula.js.git
synced 2025-12-19 09:48:18 -05:00
docs: remove extra right bracket (#737)
This commit is contained in:
@@ -1939,7 +1939,7 @@
|
||||
"description": "The style value",
|
||||
"type": "string"
|
||||
},
|
||||
"examples": ["theme.getStyle('object', 'title.main', 'fontSize'));\ntheme.getStyle('', '', 'fontSize'));"]
|
||||
"examples": ["theme.getStyle('object', 'title.main', 'fontSize'));\ntheme.getStyle('', '', 'fontSize');"]
|
||||
}
|
||||
},
|
||||
"definitions": {
|
||||
|
||||
@@ -83,8 +83,8 @@ export default function theme() {
|
||||
* @returns {string} The style value
|
||||
*
|
||||
* @example
|
||||
* theme.getStyle('object', 'title.main', 'fontSize'));
|
||||
* theme.getStyle('', '', 'fontSize'));
|
||||
* theme.getStyle('object', 'title.main', 'fontSize');
|
||||
* theme.getStyle('', '', 'fontSize');
|
||||
*/
|
||||
getStyle(basePath, path, attribute) {
|
||||
if (!styleResolverInstanceCache[basePath]) {
|
||||
|
||||
@@ -896,8 +896,8 @@ The search starts at the specified base path and continue upwards until the valu
|
||||
If possible it will get the attribute's value using the given path.
|
||||
|
||||
```js
|
||||
theme.getStyle('object', 'title.main', 'fontSize'));
|
||||
theme.getStyle('', '', 'fontSize'));
|
||||
theme.getStyle('object', 'title.main', 'fontSize');
|
||||
theme.getStyle('', '', 'fontSize');
|
||||
```
|
||||
|
||||
#### interface: ScalePalette
|
||||
|
||||
Reference in New Issue
Block a user