You are browsing the documentation for iTop 2.7 which is not the current version.

Consider browsing to iTop 3.2 documentation

đź”™ Back

JSButtonItem

api

Class for adding an item as a button that runs some JS code

parent

parent

Tags

since 2.0

API synthesis

List of the public API methods. When manipulating JSButtonItem, You can call those methods:

Public methods

__construct

api inherited public

Constructor
public __construct($sUID, $sLabel)

Parameters

types name default description
string $sUID The unique identifier of this menu in iTop… make sure you pass something unique enough
string $sLabel The display label of the menu (must be localized)

Inherited from \ApplicationPopupMenuItem

đź”™ Back

2_7_0/customization/api/extensions/jsbuttonitem.txt · Last modified: 2020/04/15 15:23 (external edit)
Back to top
Contact us