UIAction

Simplicite.UI.View. UIAction

new UIAction(ctn, obj, action)

Description:
  • UIAction

Parameters:
Name Type Description
ctn jQuery

container

obj Simplicite.Ajax.BusinessObject

Object

action Object

Action metadata

Methods

(static) this.click(handler)

Description:
  • Bind a 'click' on button

Parameters:
Name Type Description
handler function

related handler

(static) this.enable(enabled)

Description:
  • Enable/Disable the action

Parameters:
Name Type Description
enabled boolean

false to disable

(static) this.visible(vis)

Description:
  • Show/Hide the action

Parameters:
Name Type Description
vis boolean

visibility ? false to hide