const cssClassName = dhx.cssManager.add({
display: "flex";
flexDirection: "column"
});
const block = document.createElement("div");
block.classList.add(cssClassName);
dhx.cssManager.add({
display: "flex";
flexDirection: "column"
}, "myCustomClass");
const block = document.createElement("div");
block.classList.add("myCustomClass");
The new created styles will be added to the <head> section of the HTML document.
If the silent parameter is set to true, you need to use the update() method after add to apply the made changes to the HTML page.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4