The partial attribute of the starcounter-include component is renamed to view-model

December 11, 2017 3:35 pm Published by Leave your thoughts

As part of the effort to use more familiar terminology, the partial attribute of starcounter-include has been renamed to view-model. The partial attribute still works but will be removed in the future. This change was introduced in the 2.2 release of starcounter-include.


<starcounter-include partial="{{JSONwithData}}"></starcounter-include>


<starcounter-include view-model="{{JSONwithData}}"></starcounter-include>

Categorised in:

This post was written by Erlend Landrö

Leave a Reply

Your email address will not be published. Required fields are marked *