We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
nonce
1 parent abebf8a commit 21a220eCopy full SHA for 21a220e
slick.grid.js
@@ -62,6 +62,7 @@ if (typeof Slick === "undefined") {
62
enableAsyncPostRenderCleanup: false,
63
asyncPostRenderCleanupDelay: 40,
64
autoHeight: false,
65
+ nonce: '',
66
editorLock: Slick.GlobalEditorLock,
67
showColumnHeader: true,
68
showHeaderRow: false,
@@ -2056,7 +2057,7 @@ if (typeof Slick === "undefined") {
2056
2057
2058
function createCssRules() {
2059
_style = document.createElement('style');
- _style.nonce = 'random-string';
2060
+ _style.nonce = options.nonce || '';
2061
(options.shadowRoot || document.head).appendChild(_style);
2062
2063
const rowHeight = (options.rowHeight - cellHeightDiff);
0 commit comments