Smart Configuration
The Smart Configuration service can be used to obtain the app's configuration, provided when to the SmartComponentLibraryModule.forRoot method.
For details regarding the available configuration options, please see the SmartConfig API reference.
Accessing configuration property values
import { SmartConfig } from '@consultingwerk/smartcomponents-core'; constructor(private configuration: SmartConfig) { } ngOnInit() { if (this.configuration.mdiInterface) { //the app is using the MDI interface } if (this.configuration.breadcrumbNavigation) { //the app uses breadcrumb navigation } }