getContentRendered();
The getContentRendered method returns whether items of the Title tool ribbon tab are drawn.
The method returns True if elements are drawn, otherwise it returns False.
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. Check if all elements of the Title tool ribbon tab are drawn. If the elements are not drawn, render them:
// Get view of the Title tab var category = expressBox.getRibbonView().getTitleCategory(); // Check if elements are drawn if (category.getContentRendered()) { console.log("Tab elements are drawn"); } else { console.log("Tab elements are not drawn"); category.renderContent(); }
As a result the console displays a message about checking if elements are drawn:
Tab elements are not drawn
Elements of the Title tab will be drawn after calling the TitleCatView.renderContent method:
See also: