qwc/projects/qwc/src/lib/directives/image-handler.directive.ts
Image handler directive
| Selector | [qwcImgHandler] |
Properties |
Methods |
Inputs |
constructor(renderer: Renderer2, hostElement: ElementRef)
|
|||||||||
|
Parameters :
|
| defaultImage |
Type : string
|
| targetImage |
Type : string
|
| ngOnChanges | ||||||
ngOnChanges(changes: SimpleChanges)
|
||||||
|
Component lifecycle hook
Parameters :
Returns :
void
void |
| ngOnInit |
ngOnInit()
|
|
Component lifecycle hook
Returns :
void
void |
| updateUrl |
updateUrl()
|
|
Update url
Returns :
void
void |
| downloadingDefaultImage |
Type : any
|
| downloadingImage |
Type : any
|
| finalImage |
Type : any
|
| minHeight |
Type : string
|
Default value : "100%"
|
| minWidth |
Type : string
|
Default value : "100%"
|
| TARGET_IMAGE_CLASS |
Type : string
|
Default value : "img-handler__targetImage"
|