Understand how plugins work

• Mar 19, 2019 - 08:27

Hello,
I'm trying to understand how V3 plugins work.
I think there is a lot of possibility with that, but the documentation is very poor (this is not a reproach, I understand that all this takes time).

So I'm looking the existing plugins code.

But, even with documentation, I don't understand much.

For example, what is it exactly :
cursor.element ?
cursor.element.type ? When I try with console.log(cursor.element.type); I have always "92" for result.
cursor.segment ?
Element.CHORD ? Same thing, I have always 92.
cursor.element.notes ? I have "[object Object]" as result.

Thanks for your help.

Do you still have an unanswered question? Please log in first to post your question.