projects/wms-framework/src/lib/basecomponentmodel/test/test-app.component.ts
| selector | test-app |
| templateUrl | ./test-app.component.html |
Properties |
|
Methods |
|
constructor(elementRef1: ElementRef, componentFactoryResolver: ComponentFactoryResolver)
|
|||||||||
|
Parameters :
|
| Public changeRootVisual | ||||||
changeRootVisual(component: any)
|
||||||
|
Inherited from
Application
|
||||||
|
Defined in
Application:129
|
||||||
|
Parameters :
Returns :
any
|
| getResourceByKey | ||||||
getResourceByKey(key: string)
|
||||||
|
Inherited from
Application
|
||||||
|
Defined in
Application:113
|
||||||
|
Parameters :
Returns :
any
|
| Protected initProperties |
initProperties()
|
|
Inherited from
Application
|
|
Defined in
Application:91
|
|
Initialize the child elements properties of the component in code behind.
Returns :
void
|
| Public Install |
Install()
|
|
Inherited from
Application
|
|
Defined in
Application:122
|
|
Returns :
boolean
|
| Static LoadComponent | |||||||||
LoadComponent(component: unknown, location: Uri)
|
|||||||||
|
Inherited from
Application
|
|||||||||
|
Defined in
Application:109
|
|||||||||
|
Load component logic
Parameters :
Returns :
void
|
| Protected loadModels |
loadModels()
|
|
Inherited from
Application
|
|
Defined in
Application:99
|
|
Loads the model for the child elements defined in component.
Returns :
void
|
| Public ngAfterViewInit |
ngAfterViewInit()
|
|
Inherited from
Application
|
|
Defined in
Application:65
|
|
Returns :
void
|
| setResource |
setResource(key: string, obj: any)
|
|
Inherited from
Application
|
|
Defined in
Application:118
|
|
Returns :
any
|
| Public startApp |
startApp()
|
|
Inherited from
Application
|
|
Defined in
Application:176
|
|
Starts the application and fire the startup event
Returns :
void
|
| Public elementRef1 |
Type : ElementRef
|
| model |
Type : any
|
Default value : {}
|
| testParamValue |
Type : any
|
Default value : null
|
| Public angularHttpClient |
Type : HttpClient
|
|
Inherited from
Application
|
|
Defined in
Application:63
|
| Static Current |
Type : Application
|
Default value : new Application(null, null)
|
|
Inherited from
Application
|
|
Defined in
Application:61
|
| dialogService |
Type : any
|
Default value : null
|
|
Inherited from
Application
|
|
Defined in
Application:83
|
| Exit |
Default value : new SubscriptionEvent<(sender: any, e: any) => void>()
|
|
Inherited from
Application
|
|
Defined in
Application:79
|
| Public HasElevatedPermissions |
Type : boolean
|
Default value : false
|
|
Inherited from
Application
|
|
Defined in
Application:57
|
| Private innerRootVisual |
Type : any
|
Default value : null
|
|
Inherited from
Application
|
|
Defined in
Application:69
|
| InstallStateChanged |
Default value : new SubscriptionEvent<(sender: any, e: any) => void>()
|
|
Inherited from
Application
|
|
Defined in
Application:81
|
| Public Readonly IsRunningOutOfBrowser |
Type : boolean
|
Default value : false
|
|
Inherited from
Application
|
|
Defined in
Application:59
|
| Public resources |
Type : ResourceDictionary
|
Default value : new ResourceDictionary()
|
|
Inherited from
Application
|
|
Defined in
Application:52
|
|
The application resources |
| rootVisualHost |
Type : any
|
Decorators :
@ViewChild(RootVisualDirective)
|
|
Inherited from
Application
|
|
Defined in
Application:55
|
| Startup |
Default value : new SubscriptionEvent<(sender: any, e: StartupEventArgs) => void>()
|
|
Inherited from
Application
|
|
Defined in
Application:78
|
| UnhandledException |
Default value : new SubscriptionEvent<(sender: any, e: any) => void>()
|
|
Inherited from
Application
|
|
Defined in
Application:80
|
import {
Component,
OnInit,
ElementRef,
ComponentFactoryResolver,
} from '@angular/core';
import { Application } from '../Application';
@Component({
selector: 'test-app',
templateUrl: './test-app.component.html',
})
export class TestAppComponent extends Application {
testParamValue: any = null;
model: any = {};
constructor(
public elementRef1: ElementRef,
componentFactoryResolver: ComponentFactoryResolver
) {
super(elementRef1, componentFactoryResolver);
}
}
<div></div>