Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dynamic change scrollable element #172

Closed
jobsboris27 opened this issue Aug 4, 2016 · 4 comments
Closed

Dynamic change scrollable element #172

jobsboris27 opened this issue Aug 4, 2016 · 4 comments

Comments

@jobsboris27
Copy link

Hi! Do you support dynamic changing scrollbar element?
I mean, if i detect mobile device, i will change element where user can scroll.
{{infinity-loader infinityModel=model scrollable=(if mobile ".mobileList" ".desktopList"))}}

@hhff
Copy link
Collaborator

hhff commented Aug 4, 2016

Not currently @jobsboris27 but it would be trivial to implement with the didRecieveAttrs lifecycle hook on the infinity-loader component!

@jobsboris27
Copy link
Author

That component are in node_modules. @hhff, how can I use didRecieveAttrs?
Sorry, stupid question)

@jobsboris27
Copy link
Author

I did that export default infinityLoader.extend({

@hhff
Copy link
Collaborator

hhff commented Aug 5, 2016

nice!

On Fri, 5 Aug 2016 at 05:01 Boris notifications@github.com wrote:

Closed #172 #172.


You are receiving this because you were mentioned.

Reply to this email directly, view it on GitHub
#172 (comment), or mute
the thread
https://github.com/notifications/unsubscribe-auth/ACu4_JRHjljxpPGFgvyriEb2EQUvbGtQks5qcvv7gaJpZM4Jc2uO
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants