mirror of https://github.com/abpframework/abp.git
2 changed files with 22 additions and 0 deletions
@ -0,0 +1,21 @@ |
|||
# 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](../../../Global-Features.md) in the client side. |
|||
|
|||
> This document only explains the JavaScript API. See the [Global Features](../../../Global-Features.md) document to understand the ABP Global Features system. |
|||
|
|||
## Usage |
|||
|
|||
````js |
|||
> abp.globalFeatures.enabledFeatures |
|||
|
|||
[ 'Shopping.Payment', 'Ecommerce.Subscription' ] |
|||
|
|||
> abp.globalFeatures.moduleEnabledFeatures |
|||
|
|||
{ Ecommerce } |
|||
|
|||
> abp.globalFeatures.moduleEnabledFeatures.Ecommerce |
|||
|
|||
[ 'Ecommerce.Subscription', 'Ecommerce.Invoice' ] |
|||
```` |
|||
Loading…
Reference in new issue