addAction(action:PP.Ui.WelcomeScreen.ActionType, data:Object, updateItemsSize:Boolean);
action. Action.
data. Action data.
updateItemsSize. Indicates if size is refreshed after adding.
The addAction method adds an element to the list of actions in the welcome screen.
To execute the example, the HTML page must contain the WelcomeScreen component named wscreen (see Example of Creating the WelcomeScreen Component). Add a record to the last opened documents:
wscreen.addAction(PP.Ui.WelcomeScreen.ActionType.NewDocument)
See also: