DEV Community

Parables
Parables

Posted on

Alpine data methods and binding `this` keyword

Alpine docs says that you can access magic properties with the this keyword. But how do you access the this keyword from a external nested method/function.

The solution: Use Arrow syntax

check out this simple demo for plupload

Discussion (0)