API Docs for: 1.0.0
Show:

jsCow.res.controller.group Class

Represents the controller class of the jsCow group component.

Constructor

jsCow.res.controller.group

()

Item Index

Methods

Methods

init

()

The controller init method register all needed events within the controller and provides all related event handler.

    // Code examples
    this.on("model.ready", this.isModelReady);

isModelReady

(
  • eventdata
)

The controller isModelReady method is an event handler and will be triggert by the event 'model.ready' with all available model data. Is the model ready the 'view.init' event will triggert by this handler with all available model data again.

    this.trigger(
        "view.init", 
        e.data
    );

Parameters:

  • eventdata Object

    Contains all sent event data