File

projects/wms-framework/src/lib/basecomponentmodel/test/test-app.component.ts

Extends

Application

Metadata

selector test-app
templateUrl ./test-app.component.html

Index

Properties
Methods

Constructor

constructor(elementRef1: ElementRef, componentFactoryResolver: ComponentFactoryResolver)
Parameters :
Name Type Optional
elementRef1 ElementRef No
componentFactoryResolver ComponentFactoryResolver No

Methods

Public changeRootVisual
changeRootVisual(component: any)
Inherited from Application
Defined in Application:129
Parameters :
Name Type Optional
component any No
Returns : any
getResourceByKey
getResourceByKey(key: string)
Inherited from Application
Defined in Application:113
Parameters :
Name Type Optional
key string No
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 :
Name Type Optional
component unknown No
location Uri No
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
Parameters :
Name Type Optional
key string No
obj any No
Returns : any
Public startApp
startApp()
Inherited from Application
Defined in Application:176

Starts the application and fire the startup event

Returns : void

Properties

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>
Legend
Html element
Component
Html element with directive

result-matching ""

    No results matching ""