protocol-lwm2m/components/configuration/typed-forms/servers-settings.component.ts
OnInit
selector | c8y-lwm2m-form-server-settings |
standalone | true |
imports |
CoreModule
Lwm2mUIThemeModule
Lwm2mFormSingleServerSettings
RouterModule
|
templateUrl | ./server-settings.component.html |
Properties |
Methods |
constructor(service: Lwm2mConfigurationService<ServerSettings>, route: ActivatedRoute, router: Router)
|
||||||||||||
Parameters :
|
createComponent | ||||
createComponent(id)
|
||||
Parameters :
Returns :
void
|
ngOnDestroy |
ngOnDestroy()
|
Returns :
void
|
ngOnInit |
ngOnInit()
|
Returns :
void
|
select | ||||
select(id)
|
||||
Parameters :
Returns :
void
|
cmp |
Type : Lwm2mFormSingleServerSettings
|
formContainer |
Type : ViewContainerRef
|
Decorators :
@ViewChild('singleServerForm', {read: ViewContainerRef, static: true})
|
id |
Type : string
|
listelements$ |
Default value : this.service.servers$.pipe(
map(servers =>
servers.map(server => ({
title: server.uri || gettext('Invalid server configuration'),
icon: 'server',
id: server.id
}))
)
)
|