You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* If `true`, the template will get compiled to a series of `document.createElement` calls instead of using `template.innerHTML`.
117
+
* If `functional`, the template will get compiled to a series of `document.createElement` calls, if `string` it will render the template tp a string and use `template.innerHTML`.
118
118
*
119
-
* @defaultfalse
119
+
* @default'string'
120
120
*/
121
-
preventTemplateCloning?: boolean;
121
+
templatingMode?: 'string'|'functional';
122
122
/**
123
123
* Set to `true` to force the compiler into runes mode, even if there are no indications of runes usage.
124
124
* Set to `false` to force the compiler into ignoring runes, even if there are indications of runes usage.
* If `true`, the template will get compiled to a series of `document.createElement` calls instead of using `template.innerHTML`.
848
+
* If `functional`, the template will get compiled to a series of `document.createElement` calls, if `string` it will render the template tp a string and use `template.innerHTML`.
849
849
*
850
-
* @defaultfalse
850
+
* @default'string'
851
851
*/
852
-
preventTemplateCloning?: boolean;
852
+
templatingMode?: 'string'|'functional';
853
853
/**
854
854
* Set to `true` to force the compiler into runes mode, even if there are no indications of runes usage.
855
855
* Set to `false` to force the compiler into ignoring runes, even if there are indications of runes usage.
* If `true`, the template will get compiled to a series of `document.createElement` calls instead of using `template.innerHTML`.
2564
+
* If `functional`, the template will get compiled to a series of `document.createElement` calls, if `string` it will render the template tp a string and use `template.innerHTML`.
2565
2565
*
2566
-
* @defaultfalse
2566
+
* @default'string'
2567
2567
*/
2568
-
preventTemplateCloning?: boolean;
2568
+
templatingMode?: 'string'|'functional';
2569
2569
/**
2570
2570
* Set to `true` to force the compiler into runes mode, even if there are no indications of runes usage.
2571
2571
* Set to `false` to force the compiler into ignoring runes, even if there are indications of runes usage.
0 commit comments