Class Index | File Index

Classes


Class gui.Avatar


Defined in: Avatar.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
gui.Avatar(parentElement, avatarInitiallyVisible)
The avatar is a passive element that can be displayed above an element.
Method Summary
Method Attributes Method Name and Description
 
destroy(callback,)
 
hide()
 
 
markAsFocussed(isFocussed)
 
setColor(color)
 
 
show()
Class Detail
gui.Avatar(parentElement, avatarInitiallyVisible)
The avatar is a passive element that can be displayed above an element. It will always keep a relative distance to that element, so automatically move around with the parent element.
Parameters:
{!Element} parentElement
{boolean} avatarInitiallyVisible
Sets the initial visibility of the avatar
Method Detail
{undefined} destroy(callback,)
Parameters:
{!function(!Error=)} callback,
passing an error object in case of error
Returns:
{undefined}

{undefined} hide()
Returns:
{undefined}

{boolean} isVisible()
Returns:
{boolean}

{undefined} markAsFocussed(isFocussed)
Parameters:
{boolean} isFocussed
Returns:
{undefined}

setColor(color)
Parameters:
{!string} color

setImageUrl(url)
Parameters:
{!string} url

{undefined} show()
Returns:
{undefined}

Documentation generated by JsDoc Toolkit 2.4.0 on Thu Aug 06 2015 04:10:40 GMT+0200 (MESZ)