![]() The commented track() and trigger() functions are specific to Vue and are used to track when a property is read and when a property is modified/added. They’re used to implement the default behavior for the given operations, which for the get trap is returning the property name and for the set trap is returning true if the property was set or false if not. The Reflect API methods accepts the same arguments as their corresponding proxy methods.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |