Skip to content

Commit 4d71a7e

Browse files
committed
Styles property of Vizzu class on JS API fixed (renamed to style).
1 parent 195e999 commit 4d71a7e

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
## [Unreleased]
44

5+
### Fixed
6+
7+
- styles property of Vizzu class on JS API fixed (renamed to style).
8+
59
## [0.4.7] - 2022-03-18
610

711
### Fixed

src/apps/weblib/js-api/vizzu.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -720,7 +720,7 @@ export default class Vizzu {
720720
/** Returns the version number of the library. */
721721
version(): string;
722722
/** Property for read-only access to style object. */
723-
styles: Readonly<Styles.Chart>;
723+
style: Readonly<Styles.Chart>;
724724
/** Property for read-only access to chart parameter object. */
725725
config: Readonly<Config.Chart>;
726726
/** Enable/disable additional features. */

src/apps/weblib/js-api/vizzu.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ export default class Vizzu {
151151
);
152152
}
153153

154-
get styles() {
154+
get style() {
155155
return this.cloneObject(
156156
this.module._style_getList,
157157
this.module._style_getValue

0 commit comments

Comments
 (0)