TitleCatView.getInsertDateTimeMenu

Syntax

getInsertDateTimeMenu();

Description

The getInsertDateTimeMenu method returns menu of the Current Date/Time button of the Title tool ribbon tab.

Comments

Returned value - object of the PP.Ui.Menu class.

Example

Executing the example requires that the HTML page contains the ExpressBox component named expressBox (see Example of Creating the ExpressBox Component). To display the Title tab, click the Title button on the Home tab. Display menu of the Current Date/Time button of the Title tool ribbon tab:

// Get view of the Title tab
var category = expressBox.getRibbonView().getTitleCategory();
// Display menu
category.getInsertDateTimeMenu().showContext(450, 80);

As a result the menu of the Current Date/Time button is displayed:

See also:

TitleCatView