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

Consolodate the toast JavaScript into a function or something #16

Closed
ultrablue opened this issue May 26, 2019 · 0 comments
Closed

Consolodate the toast JavaScript into a function or something #16

ultrablue opened this issue May 26, 2019 · 0 comments
Labels
⤴ Refactor Suggestions for refactoring.

Comments

@ultrablue
Copy link
Owner

Make a function or something; like this:

showToast(type = success|failure, headerText, BodyText) {

   function setDisplayTime();
   etc...
}
@ultrablue ultrablue added the ⤴ Refactor Suggestions for refactoring. label May 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⤴ Refactor Suggestions for refactoring.
Projects
None yet
Development

No branches or pull requests

1 participant