The Angular Context Menu or right-click menu is a graphical user interface component that is easy to use and appears when the user right-clicks or performs a touch and hold action. The list of items in the context menu can be defined, multilevel menus created, and event handlers attached to the menu items for seamless integration with other components.
Multi-level nested items are supported in context menu. You can browse the sub menu by mouse hover/click in menu items. The appearance of Angular context menu varies for desktop and mobile. In Mobile, users can view Multilevel nested items in single layer with provision to backtrack parent item.
You can include icons or sprite images in menu items easily to add the visual representation of the action in context menu.
Templates is used to create custom user experience. You can create custom Context Menu by using template for each element of Angular Context menu.
Angular Context menu can be used with any component. Adding a context menu to other components require simple configurations.
Angular Context Menu supports built-in themes such as Bootstrap 5, Tailwind CSS, Fluent, high contrast, and more. Users can customize these built-in themes or create new themes to achieve the desired look and feel either by simply overriding SASS variables or using the Theme Studio application.
Easily get started with the Angular Context Menu component using a few simple lines of HTML and TS code example as demonstrated below. Also explore our Angular Context Menu Example that shows you how to render and configure a Context Menu in Angular.
<div class="contextmenu-section">
<div id="contextmenu-control">
<div id="contextmenutarget">
<div class="row ft-one-column segment">
<h2 id="overview">Overview</h2>
<p>The Angular ComboBox component is a drop-down list with editable textbox that also allows users to choose an option from a predefined pop-up list. It can be used as an alternative to the HTML select tag and has several out-of-the-box features such as data binding, filtering, grouping, cascading, templates, UI customization, pop-up list customization, and more.</p>
</div>
<hr>
<div class="row ft-two-column">
<div class="col-lg-6 col-md-6 col-sm-12 col-xs-12 col-img-small">
</div>
<div class="col-lg-6 col-md-6 col-sm-12 col-xs-12 col-content-small">
<p><img src="images/combo-box/angular-combobox-data-binding.png" alt="Angular Combo Box data binding from different data sources"></p>
</div>
<div class="col-lg-6 col-md-6 col-sm-12 col-xs-12 col-img-small">
<h2 id="data-binding">Data binding</h2>
<p>Bind data from different data sources in an array or list of primitive data, JSON data collections, or remote data sources using adapters such as OData, OData V4, URL, JSON, and Web API.</p>
<p>The component uses the Essential JS 2 data manager to manage data, and also has customization options for data requests and processing.</p>
<ul class="list-unstyled">
<li><a href="https://ej2.syncfusion.com/angular/demos/#/material/combo-box/data-binding">ComboBox data binding example</a></li>
</ul>
</div>
</div>
<hr>
<div class="row ft-two-column">
<div class="col-lg-6 col-md-6 col-sm-12 col-xs-12 col-img-small">
<h2 id="custom-value">Custom value</h2>
<p>The editable combobox allows the entry of a custom value when the option the user searched for is not available in the pop-up list. Also, you can set a value for the combobox or get the selected value from the combobox at any time through the interactive APIs.</p>
<ul class="list-unstyled">
<li><a href="https://ej2.syncfusion.com/angular/demos/#/material/combo-box/custom-value.html">ComboBox with custom value example</a></li>
</ul>
</div>
<div class="col-lg-6 col-md-6 col-sm-12 col-xs-12 col-content-small">
<p><img src="images/combo-box/angular-editable-combobox-with-custom-value.png" alt="Angular ComboBox that allows custom values in the pop-up list"></p>
</div>
<div class="col-lg-6 col-md-6 col-sm-12 col-xs-12 col-img-small">
</div>
</div>
<hr>
<div class="row multi-column-conent-container">
<h2 id="filtering">Filtering</h2>
<p>The Angular ComboBox provides a built-in filtering support with a rich set of filtering configurations to meet all the application needs.</p>
<ul class="list-unstyled">
<li><a href="https://www.syncfusion.com/tutorial-videos/angular/combobox?title=how-to-group-and-filter-items-in-the-angular-combobox">Learn more</a></li>
</ul>
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 multi-col-contents">
<div class="col-lg-4 col-md-6 col-sm-12 col-xs-12 three-col-content">
<p><img src="images/combo-box/angular-combobox-custom-filtering.png" alt="Angular ComboBox filtering search based on custom algorithm"></p>
<h3 id="custom-filtering">Custom filtering</h3>
<p>Filter queries are customizable, and users can use their own filter libraries to filter data.</p>
</div>
<div class="col-lg-4 col-md-6 col-sm-12 col-xs-12 three-col-content">
<p><img src="images/combo-box/angular-combobox-diacritic-sensitivity-search.png" alt="Angular ComboBox filtering with diacritic symbol sensitivity"></p>
<h3 id="diacritic-sensitivity">Diacritic sensitivity</h3>
<p>The Angular ComboBox component supports diacritic-sensitive search. This behavior can be turned on and off.</p>
</div>
<div class="col-lg-4 col-md-6 col-sm-12 col-xs-12 three-col-content">
<p><img src="images/combo-box/angular-combobox-filter-settings.png" alt="Angular ComboBox filtering with case sensitivity and minimum search characters"></p>
<h3 id="filter-settings">Filter settings</h3>
<p>The filter search can be customized to be case sensitive, and can be performed with the minimum query string characters.</p>
</div>
</div>
</div>
<hr>
<div class="row ft-two-column">
<div class="col-lg-6 col-md-6 col-sm-12 col-xs-12 col-content-small">
<p><img src="images/combo-box/angular-combobox-category-grouping.png" alt="Angular ComboBox Grouping of pop-up list items based on category"></p>
</div>
<div class="col-lg-6 col-md-6 col-sm-12 col-xs-12 col-img-small">
<h2 id="grouping-with-category">Grouping with category</h2>
<p>Group the pop-up list items with a corresponding category that makes it easy for users to pick an item quickly from the drop-down, and also improves the visual experience for users.</p>
<ul class="list-unstyled">
<li><a href="https://ej2.syncfusion.com/angular/demos/#/material/combo-box/grouping-icon">ComboBox grouping example</a></li>
</ul>
</div>
</div>
<hr>
<div class="row ft-two-column">
<div class="col-lg-6 col-md-6 col-sm-12 col-xs-12 col-img-small">
<h2 id="autofill">Autofill</h2>
<p>The autofill option allows users to easily search through the options in the combo box. When a user types a query string to search, the available matching options will be filled automatically.</p>
<ul class="list-unstyled">
<li><a href="https://ej2.syncfusion.com/angular/demos/#/material/combo-box/data-binding">ComboBox autofill option example</a></li>
</ul>
</div>
<div class="col-lg-6 col-md-6 col-sm-12 col-xs-12 col-content-small">
<p><img src="images/combo-box/angular-combobox-autofill-suggestion.png" alt="Angular ComboBox autofill option while typing"></p>
</div>
<div class="col-lg-6 col-md-6 col-sm-12 col-xs-12 col-img-small">
</div>
</div>
<hr>
<div class="row ft-two-column">
<div class="col-lg-6 col-md-6 col-sm-12 col-xs-12 col-content-small"><iframe class="lazy-iframe" loading="lazy" style="height:250px" data-src="https://ej2.syncfusion.com/products/typescript/combobox/sixth-sample/?editable=false"></iframe></div>
<div class="col-lg-6 col-md-6 col-sm-12 col-xs-12 col-img-small">
<h2 id="cascading-combo-boxes">Cascading combo boxes</h2>
<p>The Angular ComboBox component provides an option to create multiple cascading combo boxes. Users can populate the data source of the second ComboBox based on the value selected from the first ComboBox.</p>
<ul class="list-unstyled">
<li><a href="https://ej2.syncfusion.com/angular/documentation/combo-box/how-to/cascading">How to configure cascading combo boxes?</a></li>
</ul>
</div>
</div>
<hr>
<div class="row multi-column-conent-container">
<h2 id="drop-down-styles-with-templates">Drop-down styles with templates</h2>
<p>Another important combobox feature is templates, which allow you to make custom changes to the header, footer, and list items in the pop-up list to make them look unique.</p>
<ul class="list-unstyled">
<li><a href="https://www.syncfusion.com/tutorial-videos/angular/combobox?title=customize-the-angular-combobox-using-templates">Learn more</a></li>
</ul>
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 multi-col-contents">
<div class="col-lg-4 col-md-6 col-sm-12 col-xs-12 three-col-content">
<p><img src="images/combo-box/angular-combobox-header-template.png" alt="Styling Angular ComboBox pop-up list with a header template"></p>
<h3 id="header-template">Header template</h3>
<p>Design your own header for the pop-up list using a header template.</p>
<ul class="list-unstyled">
<li><a href="https://ej2.syncfusion.com/angular/documentation/combo-box/templates/#header-template">Header template example</a></li>
</ul>
</div>
<div class="col-lg-4 col-md-6 col-sm-12 col-xs-12 three-col-content">
<p><img src="images/combo-box/angular-combobox-item-template.png" alt="Styling Angular ComboBox pop-up list with item template"></p>
<h3 id="item-template">Item template</h3>
<p>Define the appearance of each item in the pop-up list with item templates.</p>
<ul class="list-unstyled">
<li><a href="https://ej2.syncfusion.com/angular/documentation/combo-box/templates#item-template">Item template example</a></li>
</ul>
</div>
<div class="col-lg-4 col-md-6 col-sm-12 col-xs-12 three-col-content">
<p><img src="images/combo-box/angular-combobox-footer-template.png" alt="Styling Angular ComboBox pop-up list with footer template"></p>
<h3 id="footer-template">Footer template</h3>
<p>Design your own custom and static footers for the pop-up list using footer templates.</p>
<ul class="list-unstyled">
<li><a href="https://ej2.syncfusion.com/angular/documentation/combo-box/templates#footer-template">Footer template example</a></li>
</ul>
</div>
</div>
</div>
<hr>
<div class="row multi-column-conent-container">
<h2 id="customizing-the-ui">Customizing the UI</h2>
<p>Users can customize each part of the combobox based on their application requirements.</p>
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 multi-col-contents">
<div class="col-lg-4 col-md-6 col-sm-12 col-xs-12 three-col-content">
<p><img src="images/combo-box/angular-combobox-popup-list-items-with-icons.png" alt="Angular bootstrap ComboBox pop-up list with icons"></p>
<h3 id="icons-in-list-items">Icons in list items</h3>
<p>Each list item can be configured to display a custom icon to improve the component’s readability and appearance.</p>
</div>
<div class="col-lg-4 col-md-6 col-sm-12 col-xs-12 three-col-content">
<p><img src="images/combo-box/angular-combobox-empty-record-template.png" alt="Angular ComboBox pop-up list custom appearance when no records are found"></p>
<h3 id="empty-record">Empty record</h3>
<p>Configure a custom look for the pop-up list when there are no items to display.</p>
</div>
<div class="col-lg-4 col-md-6 col-sm-12 col-xs-12 three-col-content">
<p><img src="images/combo-box/angular-combobox-popup-list-dimention-customization.png" alt="Angular ComboBox the pop-up list dimensions customization"></p>
<h3 id="customize-dimensions">Customize dimensions</h3>
<p>The dimensions of the pop-up list can be customized to fit the application.</p>
</div>
</div>
</div>
<hr>
<div class="row ft-two-column">
<div class="col-lg-6 col-md-6 col-sm-12 col-xs-12 col-content-small">
<p><img src="images/combo-box/angular-combobox-form-validation.png" alt="Combo Box Angular with form validation"></p>
</div>
<div class="col-lg-6 col-md-6 col-sm-12 col-xs-12 col-img-small">
<h2 id="forms-support">Forms support</h2>
<p>Since the combo box is a form component, it supports HTML forms, template-driven forms (Angular), and reactive forms.</p>
</div>
</div>
<hr>
<div class="row multi-column-conent-container">
<div class="row ft-two-column">
<div class="col-lg-6 col-md-6 col-sm-12 col-xs-12 col-img-small">
<h2 id="themes">Themes</h2>
<p>The Angular ComboBox component supports the built-in themes Material, Bootstrap, Fabric (Office 365), Fluent, Tailwind CSS, and high contrast. Users can customize these built-in themes or create new themes to achieve their desired look and feel by either simply overriding SASS variables or using our Theme Studio application.</p>
<ul class="list-unstyled">
<li><a href="https://ej2.syncfusion.com/themestudio/?theme=bootstrap">Theme Studio application.</a></li>
</ul>
</div>
<div class="col-lg-6 col-md-6 col-sm-12 col-xs-12 col-content-small">
<p><img src="images/combo-box/combobox-angular-material.png" alt="Combobox Material Angular" width="333" height="135" loading="lazy"></p>
</div>
<div class="col-lg-6 col-md-6 col-sm-12 col-xs-12 col-img-small">
</div>
</div>
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 multi-col-contents"><div class="col-lg-6 col-md-6 col-sm-12 col-xs-12 two-col-content">
<h2 id="mobile-responsive-ui">Mobile responsive UI</h2>
<p>The Angular ComboBox component supports a responsive mode that provides an adaptive, redesigned UI appearance for mobile devices.</p>
</div></div>
</div>
<hr>
<div class="row ft-one-column segment">
<h2 id="web-accessibility">Web accessibility</h2>
<ul>
<li>
<p>Fully supports <a href="https://www.w3.org/WAI/ARIA/apg/#combobox">WAI-ARIA</a> accessibility guidelines to work with screen readers and assistive devices.</p>
</li>
<li>
<p>Follows <a href="https://www.w3.org/WAI/ARIA/apg/#combobox">WAI-ARIA best practices</a> for implementing keyboard interaction.</p>
</li>
<li>
<p>Designs the UI visual elements such as foreground color, background color, line spacing, text, and images based on <a href="https://www.w3.org/TR/WCAG20/">WCAG 2.0</a> standard.</p>
</li>
<li>
<p>Supports right-to-left (RTL) direction for users working with RTL languages like Hebrew, Arabic, or Persian.</p>
</li>
</ul>
</div>
<hr>
<div class="row ft-one-column segment">
<h2 id="developer-friendly-apis">Developer friendly APIs</h2>
<p>Developers can customize all UI elements and control their behaviors according to the end user’s requirements using its rich set of client-side APIs.</p>
</div>
<hr>
<div class="row ft-one-column segment">
<h2 id="angular-combobox-code-example">Angular ComboBox Code Example</h2>
<p>Easily get started with the Angular ComboBox using a few simple lines of HTML and TS code example as demonstrated below. Also explore our <a href="https://ej2.syncfusion.com/angular/demos/#/material/combo-box/default">Angular ComboBox Example</a> that shows you how to configure the combobox in Angular.</p>
<div class="code-snippet-tabs" id="code-snippet-1">
<ul class="nav nav-tabs" role="tablist">
<li role="presentation" class=""><a data-target="#49bpv2px53s7bclzegqrcf404gequk59-html" aria-controls="home" role="tab" data-toggle="tab" data-original-lang="html">html</a></li>
<li role="presentation" class=""><a data-target="#vtw7zrlm1n8w1b56hacvtwjts8rjtuwo-ts" aria-controls="home" role="tab" data-toggle="tab" data-original-lang="ts">ts</a></li>
</ul>
<div class="tab-content">
<div role="tabpanel" class="tab-pane" id="49bpv2px53s7bclzegqrcf404gequk59-html" data-original-lang="html">
<div class="highlight"><pre class="prettyprint linenums language-html" data-lang="html"><span class="nt"><div</span> <span class="na">class=</span><span class="s">"control-section"</span><span class="nt">></span>
<span class="nt"><ejs-combobox</span> <span class="na">id=</span><span class="s">'games'</span> <span class="na">[dataSource]=</span><span class="s">'data'</span> <span class="nt">></ejs-combobox></span>
<span class="nt"></div></span></pre></div>
</div>
<div role="tabpanel" class="tab-pane" id="vtw7zrlm1n8w1b56hacvtwjts8rjtuwo-ts" data-original-lang="ts">
<div class="highlight"><pre class="prettyprint linenums language-ts" data-lang="ts"><span class="k">import</span> <span class="p">{</span> <span class="nx">Component</span> <span class="p">}</span> <span class="k">from</span> <span class="dl">'</span><span class="s1">@angular/core</span><span class="dl">'</span><span class="p">;</span>
<span class="k">import</span> <span class="p">{</span> <span class="nx">ComboBoxComponent</span> <span class="p">}</span> <span class="k">from</span> <span class="dl">'</span><span class="s1">@syncfusion/ej2-angular-dropdowns</span><span class="dl">'</span><span class="p">;</span>
<span class="p">@</span><span class="nd">Component</span><span class="p">({</span>
<span class="na">selector</span><span class="p">:</span> <span class="dl">'</span><span class="s1">app-root</span><span class="dl">'</span><span class="p">,</span>
<span class="c1">// specifies the template string for the ComboBox component</span>
<span class="na">template</span><span class="p">:</span> <span class="s2">`<ejs-combobox id='games' [dataSource]='data'></ejs-combobox>`</span>
<span class="p">})</span>
<span class="k">export</span> <span class="kd">class</span> <span class="nx">AppComponent</span> <span class="p">{</span>
<span class="kd">constructor</span><span class="p">()</span> <span class="p">{</span>
<span class="p">}</span>
<span class="c1">// defined the array of data</span>
<span class="k">public</span> <span class="nx">data</span><span class="p">:</span> <span class="kr">string</span><span class="p">[]</span> <span class="o">=</span> <span class="p">[</span><span class="dl">'</span><span class="s1">Cricket</span><span class="dl">'</span><span class="p">,</span> <span class="dl">'</span><span class="s1">Football</span><span class="dl">'</span><span class="p">,</span> <span class="dl">'</span><span class="s1">Rugby</span><span class="dl">'</span><span class="p">,</span> <span class="dl">'</span><span class="s1">Snooker</span><span class="dl">'</span><span class="p">,</span> <span class="dl">'</span><span class="s1">Tennis</span><span class="dl">'</span><span class="p">];</span>
<span class="p">}</span></pre></div>
</div>
</div>
</div>
</div>
<hr>
<div class="row ft-one-column segment">
<h2 id="other-supported-frameworks">Other supported frameworks</h2>
<p>ComboBox is also available in Blazor, React, Vue, and JavaScript frameworks. Check out the different ComboBox platforms from the links below,</p>
<ul>
<li><a href="https://www.syncfusion.com/blazor-components/blazor-combobox">Blazor ComboBox</a></li>
<li><a href="https://www.syncfusion.com/react-components/react-combobox">React ComboBox</a></li>
<li><a href="https://www.syncfusion.com/vue-components/vue-combobox">Vue ComboBox</a></li>
<li><a href="https://www.syncfusion.com/javascript-ui-controls/js-combobox">JavaScript ComboBox</a></li>
</ul>
</div>
<hr>
<div class="row ft-one-column segment" id="single-column-link-section">
<h2 id="not-sure-how-to-create-your-first-angular-combobox-our-documentation-can-help">Not sure how to create your first Angular ComboBox? Our documentation can help.</h2>
<ul>
<li><a href="https://ej2.syncfusion.com/angular/documentation/combo-box/getting-started">I’d love to read it now</a></li>
</ul>
</div>
<hr>
<div class="row multi-column-conent-container" id="faq-section">
<div class="ft-column-header text-left">
<h2 id="frequently-asked-questions">Frequently Asked Questions</h2>
</div>
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 multi-col-contents">
<div class="col-lg-6 col-md-6 col-sm-12 col-xs-12 two-col-content">
<div class="ft-column-header text-left question">
<h3 id="why-should-you-choose-syncfusion-angular-combobox-component">Why should you choose Syncfusion Angular ComboBox component?</h3>
</div>
<div class="ft-column-header text-left answer">
<p>The Syncfusion Angular ComboBox provides the following:</p>
<ul>
<li>A great alternative to the HTML select tag, with a modern look and feel.</li>
<li>Editable combobox with advanced features, including auto suggestion, <a href="https://ej2.syncfusion.com/angular/documentation/combo-box/grouping">grouping</a>, sorting, <a href="https://ej2.syncfusion.com/angular/documentation/combo-box/filtering">filtering</a> and more.</li>
<li>Supports complete <a href="https://ej2.syncfusion.com/angular/documentation/combo-box/style">customization</a> of the UI and pop-up list through different <a href="https://ej2.syncfusion.com/angular/documentation/combo-box/templates">template</a> options.</li>
<li>Industry-standard themes are included: Material, Fabric, Fluent, and Bootstrap.</li>
<li>One of the best Angular ComboBox in the market that offers feature-rich UI to interact with the software.</li>
<li>Supports all modern browsers.</li>
<li>Simple configuration and API.</li>
<li>Expansive learning resources such as <a href="https://ej2.syncfusion.com/angular/demos/#/material/combo-box/default">demos</a> and <a href="https://ej2.syncfusion.com/angular/documentation/combo-box/getting-started">documentation</a> to learn quickly and get started with Angular ComboBox.</li>
</ul>
</div>
</div>
<div class="col-lg-6 col-md-6 col-sm-12 col-xs-12 two-col-content">
<div class="ft-column-header text-left question">
<h3 id="can-i-purchase-the-syncfusion-angular-combobox-component-separately">Can I purchase the Syncfusion Angular ComboBox component separately?</h3>
</div>
<div class="ft-column-header text-left answer">
<p>No, our {overallcontrolcount}+ components and frameworks for web, mobile, and desktop, including our Angular ComboBox, are not sold individually. They are only available as part of a team license. However, we have competitively priced the product, so it only costs a little bit more than what some other vendors charge for their ComboBox component alone. We have also found that, in our experience, our customers usually start off using one of our products and then expand to several products quickly, so we felt it was best to offer all {overallcontrolcount}+ components and frameworks for a subscription fee that starts at <strong>$395 per month</strong> for a team of 5 developers. Additionally, we might be able to offer discounts based on currently active promotions. Please contact our <a href="https://www.syncfusion.com/company/contact-us">product specialists</a> today to see if you qualify for any additional discounts.</p>
</div>
</div>
<div class="col-lg-6 col-md-6 col-sm-12 col-xs-12 two-col-content">
<div class="ft-column-header text-left question">
<h3 id="what-is-the-price-for-syncfusion-angular-combobox-component">What is the price for Syncfusion Angular ComboBox component?</h3>
</div>
<div class="ft-column-header text-left answer">
<p>We do not sell the Angular ComboBox separately. It is only available for purchase as part of the <a href="https://www.syncfusion.com/sales/teamlicense">Syncfusion team license</a>. This contains over {overallcontrolcount} components and frameworks, including the Angular ComboBox. The price of the team license starts at <strong>$395 per month</strong> for 5 developers, and includes support and updates until the subscription expires. In addition, we might offer discounts based on currently active promotions. Please contact our <a href="https://www.syncfusion.com/company/contact-us">product specialists</a> today to see if you qualify for any additional discounts.</p>
</div>
</div>
<div class="col-lg-6 col-md-6 col-sm-12 col-xs-12 two-col-content">
<div class="ft-column-header text-left question">
<h3 id="can-i-download-and-utilize-the-syncfusion-angular-combobox-for-free">Can I download and utilize the Syncfusion Angular ComboBox for free?</h3>
</div>
<div class="ft-column-header text-left answer">
<p>No, this is a commercial product and requires a paid license. However, a <a href="https://www.syncfusion.com/products/communitylicense">free community license</a> is also available for companies and individuals whose organizations have less than $1 million USD in annual gross revenue and five or fewer developers.</p>
</div>
</div>
<div class="col-lg-6 col-md-6 col-sm-12 col-xs-12 two-col-content">
<div class="ft-column-header text-left question">
<h3 id="where-can-i-find-the-syncfusion-angular-combobox-demo">Where can I find the Syncfusion Angular ComboBox demo?</h3>
</div>
<div class="ft-column-header text-left answer">
<p>You can find our Angular ComboBox demo <a href="https://ej2.syncfusion.com/angular/demos/#/material/combo-box/default">here</a>.</p>
</div>
</div>
<div class="col-lg-6 col-md-6 col-sm-12 col-xs-12 two-col-content">
<div class="ft-column-header text-left question">
<h3 id="how-do-i-get-started-with-syncfusion-angular-combobox-component">How do I get started with Syncfusion Angular ComboBox component?</h3>
</div>
<div class="ft-column-header text-left answer">
<p>A good place to start would be our comprehensive <a href="https://ej2.syncfusion.com/angular/documentation/combo-box/getting-started">getting started documentation</a>.</p>
</div>
</div>
</div>
</div>
<hr>
</div>
<ejs-contextmenu #contextmenu target='#contextmenutarget' [items]='menuItems'></ejs-contextmenu>
</div>
</div>
import { Component } from '@angular/core';
import { MenuItemModel } from '@syncfusion/ej2-navigations';
@Component({
selector: 'app-root',
template: `<!--target element-->
<div id="target">Right click / Touch hold to open the ContextMenu</div>
<!-- To Render ContextMenu. -->
<ejs-contextmenu id='contextmenu' target='#contextmenutarget' [items]= 'menuItems'></ejs-contextmenu>`
})
export class AppComponent {
public menuItems: MenuItemModel[] = [
{
text: 'Cut'
},
{
text: 'Copy'
},
{
text: 'Paste'
}];
}
Context Menu is also available in Blazor, React, Vue, and JavaScript frameworks. Check out the different Context Menu platforms from the links below,
With continuous improvement in Angular versions, the Angular Context Menu is kept up to date to make it compatible with the latest version.
We do not sell the Angular Context Menu separately. It is only available for purchase as part of the Syncfusion team license. This contains over 1,800 components and frameworks, including the Angular Context Menu. The price of the team license starts at $395 per month for 5 developers, and includes support and updates until the subscription expires. In addition, we might offer discounts based on currently active promotions. Please contact our product specialists today to see if you qualify for any additional discounts.
You can find our Angular Context Menu demo here.
No, our 1,800+ components and frameworks for web, mobile, and desktop, including our Angular Context Menu, are not sold individually. They are only available as part of a team license. However, we have competitively priced the product, so it only costs a little bit more than what some other vendors charge for their Context Menu component alone. We have also found that, in our experience, our customers usually start off using one of our products and then expand to several products quickly, so we felt it was best to offer all 1,800+ components and frameworks for a subscription fee that starts at $395 per month for a team of 5 developers. Additionally, we might be able to offer discounts based on currently active promotions. Please contact our product specialists today to see if you qualify for any additional discounts.
No, this is a commercial product and requires a paid license. However, a free community license is also available for companies and individuals whose organizations have less than $1 million USD in annual gross revenue, 5 or fewer developers, and 10 or fewer total employees.
A good place to start would be our comprehensive getting started documentation.
Greatness—it’s one thing to say you have it, but it means more when others recognize it. Syncfusion is proud to hold the following industry awards.