【问题标题】:jQuery Templates are they part of the core jQuery library?jQuery 模板是核心 jQuery 库的一部分吗?
【发布时间】:2011-10-17 10:14:02
【问题描述】:

我在之前的 Scott Guthrie 博客 (http://weblogs.asp.net/scottgu/archive/2010/10/04/jquery-templates-data-link-and-globalization-accepted-as-official-jquery-plugins.aspx) 中读到了这篇文章

“在 jQuery 的下一个主要版本(jQuery 1.5)中,jQuery Templates 插件将作为核心 jQuery 库的标准部分包含在内。”

这是否发生过?它们是核心库的一部分吗?

【问题讨论】:

标签: jquery asp.net-mvc jquery-plugins jquery-templates


【解决方案1】:

不,目前还不是。它似乎仍处于 beta1 版本:http://api.jquery.com/category/plugins/templates/

【讨论】:

    【解决方案2】:

    不,它们不是,但可以从 jQuery 的文档页面链接轻松访问:

    或者你也可以观看项目on GitHub

    它们在jQuery API site 上也有很好的记录,其中记录了jQuery 的所有其他方面。那里实际上只有两个这样的插件:

    • jQuery 模板插件和
    • jQuery 数据链接插件

    不幸的是,全球化插件没有这样的运气被包含在官方 jQuery 文档中。

    【讨论】:

      【解决方案3】:

      不,它没有作为核心的一部分包含在内,但是,您只需包含 http://ajax.aspnetcdn.com/ajax/jquery.templates/beta1/jquery.tmpl.min.js 即可使用它。

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2022-01-19
        • 2011-05-06
        • 2016-10-25
        • 2011-12-03
        • 2020-04-14
        • 1970-01-01
        相关资源
        最近更新 更多