Skip to content

A sticky positioned container web component. [Added] Polymer 2.0 support.

Notifications You must be signed in to change notification settings

codesenpaii/sticky-element

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Sticky Element

sticky-element is sticky positioned container. It uses the Stickyfill position: sticky polyfill for cross-browser support.

Usage

Link into your project

<link rel="import" href="[path]/sticky-element/sticky-element.html">

And use it wherever you want a sticky container

<sticky-element>
    I'm sticky!
</sticky-element>

Options

You can disable a sticky element any time with the disabled property

<sticky-element disabled>
    I am no longer sticky :-(
</sticky-element>

About

A sticky positioned container web component. [Added] Polymer 2.0 support.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages