diff --git a/Custom-Widget.md b/Custom-Widget.md index a7b1b93..1dab1bf 100644 --- a/Custom-Widget.md +++ b/Custom-Widget.md @@ -2,41 +2,70 @@ It's possible to create custom widget in three possible locations where you can Positions are: -* left-pane -* center-pane -* right-pane +* left-pane +* center-pane +* right-pane -## Example +## Example - word count widget Create a code note of type JS frontend and give it `widget` label. ```javascript -const TPL = `
+ Word count: + -class TestWidget extends api.TabAwareWidget { - get position() { return 15; } +   + + Character count: + +