You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 28, 2021. It is now read-only.
I'm trying to add a new command.
I try RegisterCommand(name="newcmd" :config="{}" :behaviour="() => console.log('CLICK!')" extend="")
but it's not working, function is not invoked and 'CLICK' is not showed in the browser console.
The documentation does not describe how to add a new command, which fields the config object should contain and demo don't use RegisterCommand.
Can you provide a working example, please?
The text was updated successfully, but these errors were encountered:
I'm trying to add a new command.
I try
RegisterCommand(name="newcmd" :config="{}" :behaviour="() => console.log('CLICK!')" extend="")
but it's not working, function is not invoked and 'CLICK' is not showed in the browser console.
The documentation does not describe how to add a new command, which fields the config object should contain and demo don't use RegisterCommand.
Can you provide a working example, please?
The text was updated successfully, but these errors were encountered: