mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-08 23:58:13 +08:00
docs(config): update innerHTML comments (#27032)
This commit is contained in:
@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user