scttcper / ngx-codemirror

Codemirror Wrapper for Angular
https://ngx-codemirror.vercel.app
MIT License
282 stars 47 forks source link

Property binding "options" not working on Angular 12 #308

Closed iagoccampos closed 2 years ago

iagoccampos commented 2 years ago

I saw on examples that you pass the options directly. It is possible to bind the options to a property? If not, why? It seems to be so basic.

Example:

<ngx-codemirror class="header" [options]="scriptEditorOptions">
scriptEditorOptions: { theme: 'material' }
scttcper commented 2 years ago

that should also work