new Yox({
el: '#app',
template: `
<div>
<div>{{version}}</div>
<div
style="height: 50px; width: 50px; background: green;"
title="ok\nok\nok"
>
hover me
</div>
<div
style="height: 50px; width: 50px; background: red;"
title="{{title}}\n{{title}}\n{{title}}"
>
hover me
</div>
</div>
`,
data(){
return {
version: Yox.version,
title: "not ok"
};
}
});
<div id="app"></div>