APIs

Show:

Mixin containing handlers for flexberry-treenode component's actions.

Methods

actions.onTreenodeBeforeCollapse

(
  • e
)

Parameters:

Example:

templates/my-form.hbs

  {{flexberry-treenode
                        caption="Tree node"
                        beforeCollapse=(action "onTreenodeBeforeCollapse")
                      }}
                    

controllers/my-form.js

  import Controller from '@ember/controller';
                      import FlexberryTreenodeActionsHandlerMixin from 'ember-flexberry/mixins/flexberry-treenode-actions-handler';
                    
                      export default Controller.extend(FlexberryTreenodeActionsHandlerMixin, {
                      });
                    

actions.onTreenodeBeforeExpand

(
  • e
)

Parameters:

Example:

templates/my-form.hbs

  {{flexberry-treenode
                        caption="Tree node"
                        beforeExpand=(action "onTreenodeBeforeExpand")
                      }}
                    

controllers/my-form.js

  import Controller from '@ember/controller';
                      import FlexberryTreenodeActionsHandlerMixin from 'ember-flexberry/mixins/flexberry-treenode-actions-handler';
                    
                      export default Controller.extend(FlexberryTreenodeActionsHandlerMixin, {
                      });
                    

actions.onTreenodeHeaderClick

(
  • e
)

Parameters:

Example:

templates/my-form.hbs

  {{flexberry-treenode
                        caption="Tree node"
                        headerClick=(action "onTreenodeHeaderClick")
                      }}
                    

controllers/my-form.js

  import Controller from '@ember/controller';
                      import FlexberryTreenodeActionsHandlerMixin from 'ember-flexberry/mixins/flexberry-treenode-actions-handler';
                    
                      export default Controller.extend(FlexberryTreenodeActionsHandlerMixin, {
                      });