Skip to content

k-norepeat tag

To display certain content only once, when given in k-repeat, then k-norepeat is the tag for you!

Code example:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
<div k-repeat="System.Exception: No matching Action found for the expression.
   at KitsuneSyntaxParser.Models.ParseTress.Parse(Node node)">
    <div class="items active" k-norepeat>
            <div class="row">
                <p class="col-xs-12"> All </p>     
            </div>
    </div>
    <div class="items">
        <div class="row">
            <p class="col-xs-12"></p>
        </div>
    </div>
</div>

This will display "All" only once and will continue iterating over products name

Output:

1
    All     Morning    Afternoon   Evening