atularen/ngx-monaco-editor

How to call setTheme() after the editor loaded?

HRan2004 opened this issue · 0 comments

The code “monaco.editor.setTheme” is ok on monaco-editor,but on ngx-monaco-editor,it just effective in "onMonacoLoad" function.
How to call setTheme after user click a button?