mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-10 00:27:41 +08:00
docs(config): update innerHTML comments (#27032)
This commit is contained in:
@ -109,9 +109,9 @@ export class Alert implements ComponentInterface, OverlayInterface {
|
||||
* For more information: [Security Documentation](https://ionicframework.com/docs/faq/security)
|
||||
*
|
||||
* 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