xgqfrms™, xgqfrms® : xgqfrms's offical website of cnblogs! xgqfrms™, xgqfrms® : xgqfrms's offical website of GitHub!

html template & script type="text/html"

html template & script type="text/html"

https://www.sololearn.com/Play/HTML/

MIME type

Multipurpose Internet Mail Extensions

A media type (also known as a Multipurpose Internet Mail Extensions or MIME type) is a standard that indicates the nature and format of a document, file, or assortment of bytes.

https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types#JavaScript_types

https://www.iana.org/

https://www.iana.org/assignments/media-types/media-types.xhtml

Media Types

http://www.iana.org/assignments/media-types/media-types.xhtml

https://www.w3schools.com/tags/att_script_type.asp

<script type="media_type">

demo

https://codepen.io/xgqfrms/pen/RwWvoXx?editors=1010


<script type="text/html" id="module-itemTemplate">
    <!-- ko if:allowShortcut() && state().visualState() == app.models.ProgressState.Disabled -->
    <div class="shortcutContent">
        <button class="shortcut materialResponse material" data-bind="text: $root.texts.shortcutButton, click: $parent.jumpAhead">button</button>
    </div>
    <!-- /ko -->
    <div data-bind="attr: { 'class': 'appModule ' + alignmentClass() }">
        <div class="content" data-bind="click: $parent.loadModule">
            <div data-bind="attr:{ class:'appModuleCircle materialResponse ' + stateClass() }">
                <img data-bind="attr: { 'src': iconSource() }" alt="" />
            </div>
            <span data-bind="text: name"></span>
        </div>
    </div>
</script>




©xgqfrms 2012-2020

www.cnblogs.com 发布文章使用:只允许注册用户才可以访问!


posted @ 2020-05-21 22:07  xgqfrms  阅读(258)  评论(9编辑  收藏  举报