Namespace: Container

Container

Author:
  • Ahmet Katrancı <ahmet@katranci.co.uk>
Source:

Methods

<static> create(element) → {Container}

Creates an instance of Container
Parameters:
Name Type Description
element
Source:
Returns:
Type
Container

<private> _init(element) → {Container}

Constructor method
Parameters:
Name Type Description
element HTMLElement
Source:
Returns:
Type
Container

<private> _setLayoutProperties()

Caches several layout properties
Source:

<private> _validatePosScheme()

Ensures that the container's position is either 'relative' or 'absolute' so that when the sticky element is positioned absolutely it is positioned within its container
Source: