Class: CUI.Template
Defined in: | base/Template/Template.coffee |
Inherits: | CUI.Element |
Overview
- coffeescript-ui - Coffeescript User Interface System (CUI)
- Copyright (c) 2013 - 2016 Programmfabrik GmbH
- MIT Licence
- https://github.com/programmfabrik/coffeescript-ui, http://www.coffeescript-ui.org
Variables Summary
- nodeByName =
-
{}
Variable inherited from CUI.Element
Class Method Summary
- . (void) loadTemplateFile(filename)
- . (void) loadTemplateText(html)
- . (void) loadText(text)
- . (void) loadFile(filename, load_templates = false)
- . (void) load(start_element = document.documentElement)
- . (void) __appendContent(data, load_templates)
Instance Method Summary
- # (void) initOpts()
- # (void) initFlexHandles(pane_opts = {})
- # (void) getFlexHandle(name)
- # (void) getFlexHandles()
- # (void) getElMap(map)
- # (void) destroy()
- # (void) addClass(cls, key)
- # (void) removeClass(cls, key)
- # (void) hasClass(cls, key)
- # (void) has(key)
- # (void) hide(key)
- # (void) show(key)
- # (void) empty(key)
- # (void) replace(value, key, element)
- # (void) text(value, key, element)
- # (void) prepend(value, key, element)
- # (void) append(value, key, element, prepend = false)
- # (void) get(key)
- # (void) isEmpty(key)
- # (void) removeEmptySlots()
Inherited Method Summary
Methods inherited from
CUI.Element
#getElementClass #getUniqueId #getOpts #getOpt #hasOpt #getSetOpt #hasSetOpt #initOpts #copy #mergeOpt #removeOpt #addOpt #addOpts #mergeOpts #__getCheckMap #readOpts #readOptsFromAttr #proxy #destroy #isDestroyed .getOptKeys
Class Method Details
.
(void)
loadTemplateFile(filename)
.
(void)
loadTemplateText(html)
.
(void)
loadText(text)
.
(void)
loadFile(filename, load_templates = false)
.
(void)
load(start_element = document.documentElement)
.
(void)
__appendContent(data, load_templates)
Constructor Details
#
(void)
constructor(opts = {})
Instance Method Details
#
(void)
initOpts()
#
(void)
initFlexHandles(pane_opts = {})
#
(void)
getFlexHandle(name)
#
(void)
getFlexHandles()
#
(void)
getElMap(map)
#
(void)
destroy()
#
(void)
addClass(cls, key)
#
(void)
removeClass(cls, key)
#
(void)
hasClass(cls, key)
#
(void)
has(key)
#
(void)
hide(key)
#
(void)
show(key)
#
(void)
empty(key)
#
(void)
replace(value, key, element)
#
(void)
text(value, key, element)
#
(void)
prepend(value, key, element)
#
(void)
append(value, key, element, prepend = false)
#
(void)
get(key)
#
(void)
isEmpty(key)
#
(void)
removeEmptySlots()