Starts in:
2 DAYS
6 HRS
15 MIN
57 SEC
Starts in:
2 D
6 H
15 M
57 S

ASP.NET Core MVC / Razor Pages UI: JavaScript Global Features API

abp.globalFeatures API allows you to get the enabled features of the Global Features in the client side.

This document only explains the JavaScript API. See the Global Features document to understand the ABP Global Features system.

Usage

//Gets all enabled global features.
> abp.globalFeatures.enabledFeatures

[ 'Shopping.Payment', 'Ecommerce.Subscription' ]


//Check the global feature is enabled
> abp.globalFeatures.isEnabled('Ecommerce.Subscription')

true

> abp.globalFeatures.isEnabled('My.Subscription')

false

Contributors


Last updated: May 16, 2022 Edit this page on GitHub

Was this page helpful?

Please make a selection.

To help us improve, please share your reason for the negative feedback in the field below.

Please enter a note.

Thank you for your valuable feedback!

Please note that although we cannot respond to feedback, our team will use your comments to improve the experience.

In this document
Community Talks

What’s New with .NET 9 & ABP 9?

21 Nov, 17:00
Online
Watch the Event
Mastering ABP Framework Book
Mastering ABP Framework

This book will help you gain a complete understanding of the framework and modern web application development techniques.

Learn More