This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2015-11-01
Channels
are there some good examples of using do!
, like to focus on an element, around?
i tried
(do! :focus (.-target %) true true))
where %
is a jquery event
i get Uncaught Error: Doesn't support name: [object HTMLInputElement]
ah i did
(.select (js/jQuery (str "#" (dec @i))))
(do! (str "#" (dec @i)) :select)
got it