File

packages/ecl/components/ecl-sticky-container/ecl-sticky-container.component.ts

Description

This is a component, that has fixed position on the screen. It is a wrapper for other components, when their position needs to be fixed. For example it is used in the 'ecl-inpage-navigation'.

Extends

ECLBaseDirective

Implements

OnDestroy

Metadata

Index

Methods
Inputs
HostBindings
Accessors

Constructor

constructor()

Inputs

isEnabled
Type : boolean
Default value : true

This property gives the option to disable ti default behaviour, when value os 'false'.

marginBottom
Type : number
Default value : 0

Sets the 'botom' style property.

marginTop
Type : number
Default value : 0

Sets the 'top' style property.

class
Type : string
e2eAttr
Type : any
tabindex
Type : number

HostBindings

class
Type : string
style.bottom.px
Type : number
style.top.px
Type : number

Methods

getCssClasses
getCssClasses(rootClass: string)
Parameters :
Name Type Optional
rootClass string No
Returns : string

Accessors

cssClasses
getcssClasses()
top
gettop()
bottom
getbottom()

results matching ""

    No results matching ""