-
Notifications
You must be signed in to change notification settings - Fork 95
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
Fired Event on click and then pass the endNumber #8
Comments
I think there are 2 parts to your question. I'm not testing this, just codespeak and theories First, you can bind any event to trigger spinning, including custom events. They are bound to the spinner element specified. It could be anything, lets say body is the spinner and spinEvent is spinStart. You could $('body').trigger('spinStart') in your ajax success fn to start it. There is no way to set the end numbers. This person said they solved it, but I never saw the code working. It might help you. Base is exposed through .data() so you could add it to that for access and on the fly changing |
Hi
END Numbers are coming from variable winnerNumber which i get from @model in MVC }
Its done.Sorry for the my English if you can't it understand well |
Hi, Is there a way to fired the slots start event when i click on an element but not like you have the plugin right now, i mean something like:
$('selector').click(function(){
//Get Ajax request with new array
var _endNumber = $.ajax() //etc
slots.endNumbers = _endNumber;
slots.start();
}
Thanks in advance for your help.
The text was updated successfully, but these errors were encountered: