stickyfill

WebJar for stickyfill

License

License

MIT
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

stickyfill
Last Version

Last Version

1.1.1
Release Date

Release Date

Type

Type

jar
Description

Description

stickyfill
WebJar for stickyfill
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/webmodules/stickyfill

Download stickyfill

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/stickyfill/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>stickyfill</artifactId>
    <version>1.1.1</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/stickyfill/
implementation 'org.webjars.npm:stickyfill:1.1.1'
// https://jarcasting.com/artifacts/org.webjars.npm/stickyfill/
implementation ("org.webjars.npm:stickyfill:1.1.1")
'org.webjars.npm:stickyfill:jar:1.1.1'
<dependency org="org.webjars.npm" name="stickyfill" rev="1.1.1">
  <artifact name="stickyfill" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='stickyfill', version='1.1.1')
)
libraryDependencies += "org.webjars.npm" % "stickyfill" % "1.1.1"
[org.webjars.npm/stickyfill "1.1.1"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

Stickyfill

A polyfill for position: sticky for browsers that don't support it yet.

Essentially wilddeer/stickyfill wrapped as a webmodule.

Installation

npm install stickyfill

Usage

var Stickyfill = require('stickyfill');

// you can optionally pass `document` and `window` for reuse in iframes
var stickyfill = Stickyfill();

// make sure to add the elements you want to polyfill
stickyfill.add(el);

For more detailed information, see the original Readme.md file on the wilddeer/stickyfill repo.

Acknowledgements

Thanks to Oleg Korsunsky (@wilddeer), for the excelent polyfill implementation. @wilddeer, if you have any suggestions/comments on the way this is bundled, or want contributor access to this repo or to npm, just create an issue and we'll add you. ;)

License

MIT License

org.webjars.npm

webmodules

ES6 modules for web usage – on NPM

Versions

Version
1.1.1