Skip to content

feat: toast html content #18204

@Eraldo

Description

@Eraldo

Feature Request

Ionic version:

[x] 4.x

Describe the Feature Request

Current behavior:
Currently, toast shows only plain text even if you pass an URL or image link.

Expected behavior:
Toast should show plain text, links and images properly.

Describe Preferred Solution

Allow strings including html in toast service.

Describe Alternatives

Allow providing a custom component to toast service (like modal service does).

Related Code

Additional Context

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions