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

How to invoke SurveyJS Dialog - Add code examples to settings.confirmActionAsync and settings.confirmActionFunc #7821

Closed
JaneSjs opened this issue Feb 7, 2024 · 0 comments · Fixed by #7839
Assignees
Milestone

Comments

@JaneSjs
Copy link
Contributor

JaneSjs commented Feb 7, 2024

Add a code snippet demonstrating how to invoke a SurveyJS dialog using the settings.confirmActionFunc/settings.confirmActionAsync functions.

For example:

import { settings } from "survey-core";

settings.confirmActionAsync("Are you sure?", (confirm) => {
   if(confirm) {
      //...
   }
});
@JaneSjs JaneSjs changed the title Add more code examples to settings.confirmActionAsync and settings.confirmActionFunc How to invoke SurveyJS Dialog - Add code examples to settings.confirmActionAsync and settings.confirmActionFunc Feb 7, 2024
@OlgaLarina OlgaLarina added this to the v1.9.130 milestone Mar 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants