Crestron Components Lib - Showcase App

ch5-triggerview: activeView

ch5-triggerview activeView

The default value is 0. Determines which view will be shown. Uses a 0-based index.

The correct value of activeView can be retrieved only with the JavaScript getAttribute function.

First View

Second View

Third View

4th View

5th View

6th View

7th View

8th View

9th View

10th View

<ch5-triggerview activeView="2" gestureable="true" endless="true">
    <ch5-triggerview-child>
        <div class="viewcontent">
            <h1>First View</h1>
        </div>
    </ch5-triggerview-child>

    <ch5-triggerview-child>
        <div class="viewcontent">
            <h1>Second View</h1>
        </div>
    </ch5-triggerview-child>

    <ch5-triggerview-child>
        <div class="viewcontent">
            <h1>Third View</h1>
        </div>
    </ch5-triggerview-child>

    <ch5-triggerview-child>
        <div class="viewcontent">
            <h1>4th View</h1>
        </div>
    </ch5-triggerview-child>

    <ch5-triggerview-child>
        <div class="viewcontent">
            <h1>5th View</h1>
        </div>
    </ch5-triggerview-child>

    <ch5-triggerview-child>
        <div class="viewcontent">
            <h1>6th View</h1>
        </div>
    </ch5-triggerview-child>

    <ch5-triggerview-child>
        <div class="viewcontent">
            <h1>7th View</h1>
        </div>
    </ch5-triggerview-child>

    <ch5-triggerview-child>
        <div class="viewcontent">
            <h1>8th View</h1>
        </div>
    </ch5-triggerview-child>
    <ch5-triggerview-child>
        <div class="viewcontent">
            <h1>9th View</h1>
        </div>
    </ch5-triggerview-child>
    <ch5-triggerview-child>
        <div class="viewcontent">
            <h1>10th View</h1>
        </div>
    </ch5-triggerview-child>
</ch5-triggerview>