Merge pull request #4424 from Softpagehomeware/feature/marionette/behavior_missing_ui_property

added the missing ui property
This commit is contained in:
Masahiro Wakame
2015-05-25 01:36:59 +09:00
+9
View File
@@ -1291,6 +1291,15 @@ declare module Marionette {
options: any;
/**
* Behaviors can have their own ui hash, which will be mixed into the ui
* hash of its associated View instance. ui elements defined on either the
* Behavior or the View will be made available within events and triggers.
* They also are attached directly to the Behavior and can be accessed within
* Behavior methods as this.ui.
*/
ui: any;
/**
* Any triggers you define on the Behavior will be triggered in response to the appropriate event on the view.
*/