Application Tab

3 Dec 20172 minutes to read

The Application Tab is used to represent a Menu that do some operations, such as File menu to create, open, and print documents. Application Tab classified by applicationTab.type property with the following:

  • menu
  • backstage

Application Menu

The Application Menu is similar to traditional file menu options and Syncfusion ejMenu control is used internally to render this. To show Application Menu in Ribbon, set the applicationTab.type as menu and applicationTab.menuSettings to customize properties of ejMenu.

Create Using Template

Set the UL element id to applicationTab.menuItemID property to create Application Menu and it will acts as template to render menu.

  • HTML
  • <ej-ribbon id="Default" width="500px" applicationTab.type="menu" 
         applicationTab.menuItemID="menu" applicationTab.menuSettings.openOnClick="false">
                <e-tab id="home" text="HOME" [groups]="groups1">
          <ul id="menu">
                       <li><a>Save as</a></li>
         <div id="Contents">Custom control</div>
  • HTML
  • import {Component} from '@angular/core';
    import {NorthwindService} from '../../services/northwind.service';
      selector: 'ej-app',
      templateUrl: 'app/components/ribbon/ribbon.component.html',
      providers: [NorthwindService]
    export class RibbonComponent {
       constructor(public northwindService: NorthwindService) {}     
       groups1 = [{
            text: 'New', type: 'custom', contentID: "Contents"