Closed EdwinvanDessel closed 5 years ago
I've a similar problem. I can't see any exceptions, but the toaster isn't shown and the code after I create the toaster isn't run. What kind of sorcery do I need to do to use font awesome icons?
by default fontawesome icon pack supports only one class name. if you need to use multiple class name. if you need to use multiple class name use custom-class
iconPack, take a look at this example.
Thank you! My problem was that I was using in the icon property "fa fa-times", removed "fa" from there and everything is now working as it should.
Great !!
Hi,
Verry happy withvue-toasted. Everything works like a charm except for the icon in my globally registered toast. I have copied/created this global toast for my application:
But when I execute this code I get the following error message in the console:
Uncaught (in promise) DOMException: Failed to execute 'add' on 'DOMTokenList': The token provided ('fal fa-exclamation-triangle') contains HTML space characters, which are not valid in tokens.
Apparently the space between fal and fa-exclamation-triangle is not allowed, but without fal the icon is not loaded.
Any suggestions?
Thanks, Edwin