We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Thanks for the great package guys.
One minor issue I found so far, it fails while trying to pass a string or an array containing multiple custom classes.
Example:
new Notify({ customClass: 'mycustomclass-1 mycustomclass-2' })
Exception's location:
Notify.prototype.setWrapper = function () { var wrapper = document.createElement('div'); this.wrapper = wrapper; this.wrapper.style.setProperty('--gap', this.gap + "px"); this.wrapper.style.transitionDuration = this.speed + "ms"; // set classes this.wrapper.classList.add('notify'); this.wrapper.classList.add("notify--type-" + this.type); this.wrapper.classList.add("notify--" + this.status); if (this.customClass) this.wrapper.classList.add(this.customClass); //FAILS HERE };
Works fine if you pass only one class though.
The text was updated successfully, but these errors were encountered:
fix(#31): allow to use multiple classes
da8cdc7
No branches or pull requests
Thanks for the great package guys.
One minor issue I found so far, it fails while trying to pass a string or an array containing multiple custom classes.
Example:
Exception's location:
Works fine if you pass only one class though.
The text was updated successfully, but these errors were encountered: