The IStyleContainer represents anything that can be used by Spade to 'mount' styles for access by Spade style components.
The IStyleContainer represents anything that can be used by Spade to 'mount' styles for access by Spade style components.
(mount-style! this style-name css info)
Ensure the style with the given name and CSS is available. [info] should be stored somewhere in-memory to be quickly retrieved by a call to [mounted-info].
Ensure the style with the given name and CSS is available. [info] should be stored somewhere in-memory to be quickly retrieved by a call to [mounted-info].
(mounted-info this style-name)
Given a style-name, return the info object that was passed when style-name was mounted, or nil if that style is not currently mounted.
Given a style-name, return the info object that was passed when style-name was mounted, or nil if that style is not currently mounted.
cljdoc builds & hosts documentation for Clojure/Script libraries
Ctrl+k | Jump to recent docs |
← | Move to previous article |
→ | Move to next article |
Ctrl+/ | Jump to the search field |