Class: CBObject

CBObject

new CBObject(objectdata)

Base object to components. This object include position, size, type and others common elemens
Parameters:
Name Type Description
objectdata Object Object base definition
Properties
Name Type Description
position Array Object position on page
size Array Object size
type String Object type . This is used to restore object when load project
Source:

Methods

add_callback(jquerycbo, objectcbo) → {String}

This string is return core to bind on button click event on editor view
Parameters:
Name Type Description
jquerycbo jQuery jQuery representation object that is included on targetcontent
objectcbo CBOjbect CBObject that is stored on the project to later load project or export to other format.
Source:
Returns:
Function string.
Type
String

editorView() → {jQuery}

Render object to jQuery object to be included on page
Source:
Returns:
Type
jQuery