Skip to content

Set default text button for all SweetAlert in project #1014

Description

@hero70411

My project using many sweetAlert. Now i changed my project to multi-language project. So i need to change text button of SWAL on everywhere. Iam using this but it's not working. Can u guys help me ?

swal.setDefaults({
buttons: {
cancel: LANG.cancel,
confirm: LANG.ok
}
});

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions