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
z-template as an element holder of the viewModel. Zect will copy all attributes from z-template element (include class and id) to instance's $el. class attribute will be merged.
Example
<!-- HTML template--><z-templatetitle="{title}" class="my-component">
{title}
</z-template><!-- use --><my-componentz-data="{title: 'hello'}" class="comp"></my-component>