@name Unsafe bindings on an iframe element @category runtime @shortDescription Unsafe bindings on an iframe element @description You see this error when Angular detects an attribute binding or a property binding on an ` ``` or when it's an attribute bindings: ```html ``` Also, the error is thrown when a similar pattern is used in Directive's host bindings: ```typescript @Directive({ selector: 'iframe', host: { '[sandbox]': `'allow-scripts'`, '[attr.sandbox]': `'allow-scripts'`, } }) class IframeDirective {} ``` @debugging The error message includes the name of the component with the template where an ` ``` If you need to have different values for these attributes (depending on various conditions), you can use an `*ngIf` or an `*ngSwitch` on an ` ``` @reviewed 2022-05-27