Open kingrome2017 opened 6 years ago
Because the hump name will be invalid in the browser DOM, you need to use -
as the event name.
<local-codemirror ref="cmA"
:value="code2"
:options="cmOption"
@blur="onCmBlur($event)"
@focus="onCmFocus($event)"
@ready="onCmReady($event)"
@cursor-activity="onCmCursorActivity"
@input="onCmInput">
</local-codemirror>
`