CrossClj
shadow.ui/self-destruct
RECENT
    • (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 2 defs, across 1 project.

    Search for vars with similar names in all artifacts: self-destruct

    Search for self destruct in the documentation of all artifacts.

    2 usages in
    shadow-client 1.3.2
    a cljs library for managed state in the shadows of the DOM