Skip to content

Commit ae6cba8

Browse files
committed
Updated readme
1 parent 0b51a9e commit ae6cba8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.MD

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ The configuration object passed into `newPanel` has the following properties:
8787
| Method | Return Type | Description |
8888
|------------------------|--------------|------------------------------------|
8989
| `getAvailableThemes()` | string[ ] | Returns all available themes. The array contains the `title` attribute of all alternate stylesheets. |
90+
| `getTheme()` | string | Returns the name of the current theme. This is the `title` attribute of the currently active alternate stylesheet. Returns null if no theme is in use. |
9091
| `loadTheme(string)` | void | Changes the current theme - in other words, sets an alternate stylesheet to active based on a `title` attribute matching the supplied argument. |
9192

9293

0 commit comments

Comments
 (0)