docs(config): update innerHTML comments (#27032)

This commit is contained in:
Liam DeBeasi
2023-03-27 15:14:02 -04:00
committed by GitHub
parent ae482823e5
commit 5c0ead37bf
7 changed files with 33 additions and 33 deletions

View File

@ -114,9 +114,9 @@ export class Toast implements ComponentInterface, OverlayInterface {
/**
* Message to be shown in the toast.
* This property accepts custom HTML as a string.
* Developers who only want to pass plain text
* can disable the custom HTML functionality
* by setting `innerHTMLTemplatesEnabled: false` in the Ionic config.
* Content is parsed as plaintext by default.
* `innerHTMLTemplatesEnabled` must be set to `true` in the Ionic config
* before custom HTML can be used.
*/
@Prop() message?: string | IonicSafeString;