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
Add new 'canProgress' event for Introduction Screen #133
Comments
Hi, you can already freeze the scroll and/or hide progress dots by using : But yes, a |
@davoutuk I can add the event but couldn't get exactly what you want. Could you please explain more why do you need such event. Why do you need to check whether it is valid to progress to the next page? |
Hello,
I was trying to use this widget as the basis for a UI wizard, with text and
radio button inputs on each page. For this, I wanted to have a facility to
validate the inputs at a page level, and the introduction of a page level
'canProgress' event would allow the validation to be performed inside that
event handler.
From: timurturbil ***@***.***>
Sent: 12 August 2022 11:13
To: Pyozer/introduction_screen ***@***.***>
Cc: davoutuk ***@***.***>; Mention
***@***.***>
Subject: Re: [Pyozer/introduction_screen] Add new 'canProgress' event for
Introduction Screen (Issue #133)
@davoutuk <https://github.com/davoutuk> I can add the event but couldn't
get exactly what you want. Could you please explain more why do you need
such event. Why do you need to check whether it is valid to progress to the
next page?
-
Reply to this email directly, view it on GitHub
<#133 (comment)
50867> , or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AGGIB2C52IIFMQWSTG24NSTVY
YPS7ANCNFSM54AAQBAA> .
You are receiving this because you were mentioned.
<https://github.com/notifications/beacon/AGGIB2FKZMNHYWUKVV4LADTVYYPS7A5CNFS
M54AAQBAKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOJBGCSUY
.gif> Message ID:
***@***.***
***@***.***> >
|
@davoutuk I have opened a pull request for this feature. Can you check if it would meet your need? |
Hi all, PR merged. Thanks! Thanks, |
Can I suggest adding a new event to this otherwise excellent widget?
Add a new 'canProgress' event that can be used to check whether it is valid to progress to the next page, like:
canProgress: (page) {
// return true if movement to next page is permitted, or false if the progression is to be stopped.
}
The text was updated successfully, but these errors were encountered: