Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • StickyElementOptions

Index

Properties

Optional class

class: string

Can be used to define the class which is applied to the element when it should be considered "sticky" Default: sticky

Optional container

container: string | HTMLElement

An optional container to use as a reference point to calculate the offset from

Optional offset

offset: number

The offset (in pixels)from the top of the page the element should stick to Default: 0

Optional setStyle

setStyle: boolean

Can be used to disable the setting of the style attribute to fixed / top Default: true

Generated using TypeDoc