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
{{ message }}
This repository has been archived by the owner on Jul 30, 2018. It is now read-only.
As noted in a PR, the meta Base calls an invalidate() passed in during the construction properties, but the way it calls it requires its context to be the instance:
When trying to invalidate a meta instance though from within something like an event handler, it is a common situation that the protected method will lose its context. This requires downstream meta implementors to statically bind to the proper context to call a passed property that is already statically bound from the implementing widget. We should find a way to ensure that the Base.invalidate() works without having to statically bind to the instance.
The text was updated successfully, but these errors were encountered:
Enhancement
As noted in a PR, the meta
Base
calls aninvalidate()
passed in during the construction properties, but the way it calls it requires its context to be the instance:widget-core/src/meta/Base.ts
Lines 39 to 41 in 72316bc
When trying to invalidate a meta instance though from within something like an event handler, it is a common situation that the protected method will lose its context. This requires downstream meta implementors to statically bind to the proper context to call a passed property that is already statically bound from the implementing widget. We should find a way to ensure that the
Base.invalidate()
works without having to statically bind to the instance.The text was updated successfully, but these errors were encountered: