Candy | Chats are not dead yet. |
© 2011 Amiado Group AG. All rights reserved. © 2012-2014 Patrick Stadler & Michael Weibel. All rights reserved.
view.js | |
Candy.View | The Candy View Class |
Private Functions | |
_setupTranslation | Set dictionary using jQuery.i18n plugin. |
_registerObservers | Register observers. |
_registerWindowHandlers | Register window focus / blur / resize handlers. |
_initToolbar | Initialize toolbar. |
_delegateTooltips | Delegate mouseenter on tooltipified element to <Candy.View.Pane.Chat.Tooltip.show>. |
Functions | |
init | Initialize chat view (setup DOM, register handlers & observers) |
getCurrent | Get current container & roomJid in an object. |
getOptions | Gets options |
The Candy View Class
(Candy.View) self | itself |
(jQuery) $ | jQuery |
Private Functions | |
_setupTranslation | Set dictionary using jQuery.i18n plugin. |
_registerObservers | Register observers. |
_registerWindowHandlers | Register window focus / blur / resize handlers. |
_initToolbar | Initialize toolbar. |
_delegateTooltips | Delegate mouseenter on tooltipified element to <Candy.View.Pane.Chat.Tooltip.show>. |
Functions | |
init | Initialize chat view (setup DOM, register handlers & observers) |
getCurrent | Get current container & roomJid in an object. |
getOptions | Gets options |
Initialize chat view (setup DOM, register handlers & observers)
self.init = function( container, options )
Get current container & roomJid in an object.
self.getCurrent = function()
Gets options
self.getOptions = function()