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

cc-ajax-loading element support #16

Closed
ahmedanis03 opened this issue May 31, 2016 · 10 comments
Closed

cc-ajax-loading element support #16

ahmedanis03 opened this issue May 31, 2016 · 10 comments

Comments

@ahmedanis03
Copy link

enable disable loading element as it was in jquery-ajax-unobtrusive

@joeaudette
Copy link
Collaborator

I have no idea what you are talking about on this issue. could you please explain what you are asking for here.
PagerTagHelper does depend on jquery-ajax-unobtrusive

@ahmedanis03
Copy link
Author

ahmedanis03 commented May 31, 2016

jquery-ajax-unobtrusive has a feature that support, while loading data from the request it can show/hide a passed element id like this data-ajax-loading="#waitId"
check line 88,100,105
in Jquery unobtrusive main library
it is same like data-ajax-mode, data-ajax-update, etc
it would be greate to show a gif while loading

@joeaudette
Copy link
Collaborator

fyi on both your issues the links you post don't work and result in 404, wrong markdown I think

@ahmedanis03
Copy link
Author

ahmedanis03 commented May 31, 2016

@joeaudette yea cause copy and paste working file
sorry kinda new to commenting in github and using markedown but asp.net core can do more than this ^^.
fixed it i was swaping the url with text :D

@joeaudette
Copy link
Collaborator

do you also need data-ajax-loading-duration? or the default will be sufficient?

@ahmedanis03
Copy link
Author

for me the default would be fine
Thanks

@joeaudette
Copy link
Collaborator

ok version 1.0.1-beta9 nuget is now available targeting netstandard1.0 and also adding support for the loader gif as requested. please confirm it works
cs-ajax-loading is the attribute that will map to data-ajax-loading, I also implemented cs-ajax-loading-duration

@ahmedanis03
Copy link
Author

Tested and working fine
thanks.

@ahmedanis03
Copy link
Author

dun forget to update the docs for the repo

@joeaudette
Copy link
Collaborator

the only doc is the readme, I updated it yesterday to include the new settings

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