reagent.interop
$
macro
($ object member & args)
Access member in a javascript object, in a Closure-safe way. 'member' is assumed to be a field if it is a keyword or if the name starts with '-', otherwise the named function is called with the optional args. 'member' may contain '.', to allow access in nested objects. If 'object' is a symbol it is not allowed contain '.'. ($ o :foo) is equivalent to (.-foo o), except that it gives the same result under advanced compilation. ($ o foo arg1 arg2) is the same as (.foo o arg1 arg2).
$
macro
($ object member & args)
Access member in a javascript object, in a Closure-safe way. 'member' is assumed to be a field if it is a keyword or if the name starts with '-', otherwise the named function is called with the optional args. 'member' may contain '.', to allow access in nested objects. If 'object' is a symbol it is not allowed contain '.'. ($ o :foo) is equivalent to (.-foo o), except that it gives the same result under advanced compilation. ($ o foo arg1 arg2) is the same as (.foo o arg1 arg2).
$!
macro
($! object field value)
Set field in a javascript object, in a Closure-safe way. 'field' should be a keyword or a symbol starting with '-'. 'field' may contain '.', to allow access in nested objects. If 'object' is a symbol it is not allowed contain '.'. ($! o :foo 1) is equivalent to (set! (.-foo o) 1), except that it gives the same result under advanced compilation.
$!
macro
($! object field value)
Set field in a javascript object, in a Closure-safe way. 'field' should be a keyword or a symbol starting with '-'. 'field' may contain '.', to allow access in nested objects. If 'object' is a symbol it is not allowed contain '.'. ($! o :foo 1) is equivalent to (set! (.-foo o) 1), except that it gives the same result under advanced compilation.
.!
macro
(.! & args)
.!
macro
(.! & args)
.'
macro
(.' & args)
.'
macro
(.' & args)