src/app/shared/components/drawer/content/content.component.ts
Component wrapping and providing animations for center content.
OnDestroy
changeDetection | ChangeDetectionStrategy.OnPush |
selector | ccf-drawer-content |
styleUrls | ./content.component.scss |
template |
Properties |
|
HostBindings |
constructor(messageService: MessageService, cdr: ChangeDetectorRef)
|
||||||||||||
Creates an instance of content component.
Parameters :
|
@fadeInOut |
Type : boolean
|
Default value : false
|
Whether the content is invisible. |
class |
Type : "ccf-drawer-content"
|
Default value : 'ccf-drawer-content'
|
HTML class |
class.cff-drawer-content-animations |
Type : boolean
|
Default value : false
|
Whether animations are enabled. |
style.margin-left.px |
Type : number
|
Default value : 0
|
Left margin size. |
style.margin-right.px |
Type : number
|
Default value : 0
|
Right margin size. |
animationsEnabled |
Default value : false
|
Decorators :
@HostBinding('class.cff-drawer-content-animations')
|
Whether animations are enabled. |
Readonly className |
Type : string
|
Default value : 'ccf-drawer-content'
|
Decorators :
@HostBinding('class')
|
HTML class |
faded |
Default value : false
|
Decorators :
@HostBinding('@fadeInOut')
|
Whether the content is invisible. |
leftMargin |
Type : number
|
Default value : 0
|
Decorators :
@HostBinding('style.margin-left.px')
|
Left margin size. |
rightMargin |
Type : number
|
Default value : 0
|
Decorators :
@HostBinding('style.margin-right.px')
|
Right margin size. |
./content.component.scss