projects/app-base-library/src/lib/angular/components/base.component.ts
Properties |
|
Methods |
constructor()
|
| ngOnInit |
ngOnInit()
|
|
Returns :
void
|
| Protected init | ||||||
init(settings: any)
|
||||||
|
Inherited from
Base
|
||||||
|
Defined in Base:35
|
||||||
|
Parameters :
Returns :
any
|
| Public config |
config:
|
Type : any
|
| Public el |
el:
|
Type : any
|
| Private _environment |
_environment:
|
Type : any
|
Default value : { type: 'js', namespace: '_abl'}
|
|
Inherited from
Base
|
|
Defined in Base:8
|
| Private _settings |
_settings:
|
Type : any
|
Default value : {}
|
|
Inherited from
Base
|
|
Defined in Base:9
|
| Public settings |
settings:
|
Type : any
|
Default value : {}
|
|
Inherited from
Base
|
|
Defined in Base:10
|
import { Component, OnInit, ElementRef } from '@angular/core';
import { Base } from '../../shared/index';
import { BaseService } from '../services/index';
// todo: deprecated
@Component({
template: ''
})
export class BaseComponent extends Base implements OnInit {
public el: any;
public config: any;
constructor() {
super();
}
ngOnInit() {
// this.el = this.elementRef.nativeElement;
}
}