Decoration Example at Playgound

Long time user of the library but I always come back to the docs if I need to refresh some concept, in this case decorators.

The examples in the docs are great, the playground is great. Most of the time after reading a technical piece you want to try it so here is the 1st example from the Decorations page in the playground: click here

It’s basically the same code converted from ts to js, took me 10 minutes to do it but I hope someone might save this time in the future. If this approach is interesting I could help to create more playground code from the examples.

Widget decoration example

That’s actually a good idea to have built-in. I’ve updated the website to add sandbox links to a lot of the examples.

1 Like