Comments (5)
I have found a way around by emitting an event on window resize inside my controller and watching the same event using "slimscrollListenTo" attr. Even there, I had a problem on angular 1.3 where I had to use "slimscroll-listen-to" as attr in the html using
Hope it helps others.
from angular-slimscroll.
@jagmal thanks for your share. Currently the $attr.slimscrollListenTo is processed in our directive, but you pass the attribute value use 'slimscroll-listen-to', angular removes the dashs between the words, so in the directive $attr.slimscrolllistento is passed in.
from angular-slimscroll.
Thanks for fixing this!
from angular-slimscroll.
could you provide a working example on this matter?
from angular-slimscroll.
I'm also looking for an example. Can anyone show how to add this attribute to the HTML (I suppose)?
Thanks.
from angular-slimscroll.
Related Issues (20)
- Update slimscroll dependency to 1.3.3 HOT 1
- Add bower installation instructions HOT 2
- Disable angular-slimscroll HOT 1
- Use slimscroll in combination with ui router HOT 8
- Does not work HOT 4
- Double slimscrolls HOT 8
- double scrollbar added HOT 6
- Update scrollbar after pushing elements HOT 2
- Refresh/Update doesn't seem to be fully working. HOT 2
- Publishing to NPM HOT 1
- Options do not work HOT 4
- When window resize, Height auto Issue HOT 1
- How can i bind event
- Add slimscroll-watch attribute to documentation HOT 1
- customization is not working HOT 1
- Inner scroll not working HOT 2
- npm package not correct
- start: 'bottom' option does not work. HOT 3
- Hide scrollbar when it isn't need
- allowPageScroll is not working??? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from angular-slimscroll.