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