v0.4.0
Pre-release
Pre-release
New Features
- Added a
renderparameter that enables dynamic insertion of HTML content using template syntax, similar to dynamically insertinginnerHTMLwith:html.- Example (
index.html):<body id="app"></body> <script> const test = new QUI({ id: "app", data: { hint: "hint 123", title: "test 123" }, render: () => { return ` "{{ hint }}", h1 { style: "background: red;", children: [ "{{ title }}" ] }` } }) </script>
- Result:
<body id="app"> hint 123 <h1 style="background: red;">test 123</h1> </body>
- Example (
Deprecated Features
- For more details, see here.