jfcere / ngx-stickybits Goto Github PK
View Code? Open in Web Editor NEWAngular directive using Stickybits, a lightweight alternative to `position: sticky` polyfills
Home Page: https://jfcere.github.io/ngx-stickybits
License: MIT License
Angular directive using Stickybits, a lightweight alternative to `position: sticky` polyfills
Home Page: https://jfcere.github.io/ngx-stickybits
License: MIT License
Are horizontal layout supported?
I can see the "position: sticky" applied to my element and the "sticky-parent" class given to the parent, but none of the output are triggered and the class "sticky" and "stuck" are never added.
i've added this to th
, when i scroll it stays where it should so it appears to work correctly but default classes weren't added. Even when i use simple div
it do not add classes or fire events. I've also tried to add custom classes and this also do not work. It's simply adds position: sticky
to element which contains stickybits
attribute. On IE11 it doesn't work at all.
Thanks, great directive!
It appears from the documentation that this module can/should be imported in the root module like many other modules; in reality, for typical projects it needs to be imported and exported from a Shared module. Would be great if you could clarify that.
here is the example
If you try to scroll the function will log in the console but the values will not change like if you press the button.
If you uncomment the last line the value will change on the template.
If it should behave like this, please add on the documentation.
In the documentation the default value of useStickyClasses
is indicated as true
while the note indicates this value should be left false
if possible
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.