In development!

Interpolation

Text interpolation
Interpolation - is one of the ways how to bind data with tempalte
We use 'Mustache' syntax, which means value from double curly braces will be replaced with the value from props.title
example.component.js
    import { Component } from 'ace-js';
    import Tpl from './example.component.html';
    export class ExampleComponent extends Component {
        constructor(params) {
            super(params, {
                template: Tpl,
                props: ()=> {
                    return {
                      title: 'Some title'        
                    }
                }
            });
        }

    }
example.component.html
<span>{{title}}</span>
will be replaced with props.title value
<span>Some title</span>
Javascript expressions
<span>{{isReady ? 'OK' : 'FAIL'}}</span>
This expression will be calculated as ussual js expression

The alturnative way is using of ac-value