You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Need a way to destroy the Pikaso instance so that it no longer listens for events or any adjacent code
Describe the solution you'd like
In the main instance add a method called destroy similar to the one in KonvaJS
classPikaso{constructor(config){// constructor implementation}// other methods implementationdestroy(){// stop listening to eventsthis.off();// other cleanup operations// ...// set instance properties to null to aid garbage collectionfor(letpropinthis){if(this.hasOwnProperty(prop)){this[prop]=null;}}}}
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
Need a way to destroy the Pikaso instance so that it no longer listens for events or any adjacent code
Describe the solution you'd like
In the main instance add a method called destroy similar to the one in KonvaJS
The text was updated successfully, but these errors were encountered: