- (self-destruct timeout)
- (self-destruct timeout destruct-fn)
behavior to self destruct objects on click or timeout useful for notifications and such Example: (so/define ::my-object :dom (fn ...) :behaviors [(ui/self-destruct 3000)]) this will so/destroy! (the default) the object 3000ms after it entered the dom
shadow.ui/self-destruct (cljs) found in 1 def, across 1 project.
Search for vars with similar names in all artifacts: self-destruct
Search for self destruct in the documentation of all artifacts.
1 usage in
a cljs library for managed state in the shadows of the DOM