<div data-bind="css:$data.css,attr:{id:$data.id}">
    <ul class="nav nav-pills nav-stacked">
        <!--ko foreach:$data.data-->
        <li data-bind="css:$parents[0].itemCss,style:{'background-color':$data.bgColor || '#222222'}">
            <a data-bind="attr:{href:target },text:$data.displayName" class="menulink">
                <i data-bind="css:$data.class"></i>
            </a>
        </li>
        <!--/ko-->
    </ul>
</div>