使用kendoui分裂器类角度

时间:2014-01-19 19:52:37

标签: angularjs kendo-ui

如何在分离器类中使用angular-kendoui?我写了

<div kendo-splitter k-option-orientation="horizontal" style="height: 600px; width: 100%;">
<div id="top_pane">
    <p>Left pane</p>
</div>
<div>
    <div>
        <p>Right pane</p>
    </div>
</div>

但是如何添加窗格数据?

好的,发现它

<div kendo-splitter k-orientation="'horizontal'" k-panes='[{ collapsible: true, size: "0%" }
                                                    , { collapsible: false }
                                                    , { collapsible: true, size: "0%" }]' k-resize="onResize" style="height: 200px; width: 100%;">
<div>
    Incidents
</div>
<div>
    Video
</div>
<div>
    Sensors
</div>

1 个答案:

答案 0 :(得分:3)

<div kendo-splitter k-orientation="'horizontal'" k-panes='[{ collapsible: true, size: "0%" }
                                                    , { collapsible: false }
                                                    , { collapsible: true, size: "0%" }]' k-resize="onResize" style="height: 200px; width: 100%;">
<div>
    Incidents
</div>
<div>
    Video
</div>
<div>
    Sensors
</div>