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

HTML content instead of text and title #152

Open
matheusgabardo opened this issue Jun 5, 2024 · 0 comments
Open

HTML content instead of text and title #152

matheusgabardo opened this issue Jun 5, 2024 · 0 comments

Comments

@matheusgabardo
Copy link

matheusgabardo commented Jun 5, 2024

It would be interesting if we could pass a string containing HTML to be used instead of title+text
An example being called directly from the controller:

this->alert([
        'icon', 'error', 
        'html', '<p>Error!<br/> Try again later.</p>'
        'position' => 'center',
        'timer' => 5000,
        'toast' => true,
        'width' => 350,
]);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant