Class: bindie

bindie

new bindie(el, options)

A module that represents a bindie object, a componentTab is a page composition tool.

Parameters:
Name Type Description
el object

element of tab container

options object

configuration options

Author:
  • Yaw Joseph Etse
License:
  • MIT
Source:

Requires

  • module:ejs
  • module:events
  • module:util-extend
  • module:util

Methods

_addBinder(options)

adds a data property binding to an html element selector

Parameters:
Name Type Description
options object

prop,elementSelector,binderType, binderValue, listenerEventArray

Source:

_render(options) → {string}

render element template with new data

Parameters:
Name Type Description
options object

template, data

Source:
Returns:

rendered html fragment

Type
string

_update(options)

this will update your binded elements ui, once your bindie object is updated with new data

Parameters:
Name Type Description
options object

data

Source: