html 来自http://wiki.jikexueyuan.com/project/kendo-ui-development-tutorial/the-layout-single-page-appl

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了html 来自http://wiki.jikexueyuan.com/project/kendo-ui-development-tutorial/the-layout-single-page-appl相关的知识,希望对你有一定的参考价值。


<div id="app"></div>

<script>
    var foo = new kendo.View("<span>Foo</span>", { hide: function() { console.log("Foo is hidden now"); }});
    var bar = new kendo.View("<span>Bar</span>");

    var layout = new kendo.Layout("<header>Header</header><section id='content'></section><footer></footer>");

    layout.render($("#app"));

    layout.showIn("#content", foo);
    layout.showIn("#content", bar);
</script>

以上是关于html 来自http://wiki.jikexueyuan.com/project/kendo-ui-development-tutorial/the-layout-single-page-appl的主要内容,如果未能解决你的问题,请参考以下文章

来自数组的html输出逻辑

html JavaScript导入后备(来自HTML5 Boilerplate)

html JavaScript导入后备(来自HTML5 Boilerplate)

html JavaScript导入后备(来自HTML5 Boilerplate)

HTML 来自Google Code的HTML 5 shiv

html 来自JavaScript.html的il metodo fromCharCode()