Skip to main content

forget_movable

Function forget_movable 

Source
pub fn forget_movable<K: Hash>(key: K)
Expand description

Releases the state of movable content with identity key that no parent is showing. Call it when the item is closed for good, from an event handler or inside composition. Content a parent is still showing is unaffected. Needs a runtime: an active composition or one created on this thread.