【Kendo UI最新試用版下載】css
Kendo UI目前最新提供Kendo UI for jQuery、Kendo UI for Angular、Kendo UI Support for React和Kendo UI Support for Vue四個控件。Kendo UI for jQuery是建立現代Web應用程序的最完整UI庫;Kendo UI for Angular是專用於Angular開發的專業級Angular UI組件;Kendo UI Support for React支持React Javascript框架,更快地構建更好的應用程序;Kendo UI Support for Vue爲Vue技術框架提供可用的Kendo UI組件,更快地構建更好的Vue應用程序。html
要在項目中託管Kendo UI,你須要:jquery
下載任何Kendo UI軟件包後,下面列出的文件夾將託管在您的本地存儲庫中。web
要在項目中使用Kendo UI,請包含所需的JavaScript和CSS文件。服務器
Step 1:從bundle存檔中提取 /js和/styles目錄,並將它們複製到Web應用程序根目錄。微信
Step 2:在HTML文檔的head標記中包含Kendo UI JavaScript和CSS文件,驗證在主題CSS文件以前註冊了公共CSS文件。app
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
<!DOCTYPE html><
html
><
head
><
title
>Welcome to Kendo UI!</
title
>
<!-- Common Kendo UI CSS for web widgets and widgets for data visualization. -->
<
link
href
=
"styles/kendo.common.min.css"
rel
=
"stylesheet"
/>
<!-- (Optional) RTL CSS for Kendo UI widgets for the web. Include only in right-to-left applications. -->
<
link
href
=
"styles/kendo.rtl.min.css"
rel
=
"stylesheet"
type
=
"text/css"
/>
<!-- Default Kendo UI theme CSS for web widgets and widgets for data visualization. -->
<
link
href
=
"styles/kendo.default.min.css"
rel
=
"stylesheet"
/>
<!-- (Optional) Kendo UI Hybrid CSS. Include only if you will use the mobile devices features. -->
<
link
href
=
"styles/kendo.default.mobile.min.css"
rel
=
"stylesheet"
type
=
"text/css"
/>
<!-- jQuery JavaScript -->
<
script
src
=
"js/jquery.min.js"
></
script
>
<!-- Kendo UI combined JavaScript -->
<
script
src
=
"js/kendo.all.min.js"
></
script
>
</
head
>
<
body
>
Hello World!
</
body
>
</
html
>
|
注意:代碼示例之後假設Kendo UI scripts和stylesheets如今已添加到文檔中。框架
Step 3:初始化一個小部件post
如下示例演示如何初始化DatePicker小部件。ui
1
2
3
4
5
6
7
8
|
<!-- HTML element from which the DatePicker would be initialized -->
<input id=
"datepicker"
/>
<script>
$(
function
() {
// Initialize the Kendo UI DatePicker by calling the kendoDatePicker jQuery plugin
$(
"#datepicker"
).kendoDatePicker();
});
</script>
|
如下示例演示了DatePicker小部件的徹底初始化。
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
<!DOCTYPE html>
<
html
>
<
head
>
<
title
>Welcome to Kendo UI!</
title
>
<
link
href
=
"styles/kendo.common.min.css"
rel
=
"stylesheet"
/>
<
link
href
=
"styles/kendo.default.min.css"
rel
=
"stylesheet"
/>
<
script
src
=
"js/jquery.min.js"
></
script
>
<
script
src
=
"js/kendo.all.min.js"
></
script
>
</
head
>
<
body
>
<
input
id
=
"datepicker"
/>
<
script
>
$(function() {
$("#datepicker").kendoDatePicker();
});
</
script
>
</
body
>
</
html
>
|
Bower是一個流行的Web管理程序包管理器,用於處理框架、庫、資產和實用程序。
Kendo UII維護2個Bower包:
全部正式版本,Service Pack和內部版本都會上傳到它們中。
截至Kendo UI 2016 Q2(2016.2.504)更新:
Kendo UI CDN託管在Amazon CloudFront上。 要訪問CDN服務,您可使用不一樣的方法。
Kendo UI R2 2019 SP1全新發布,最新動態請持續關注Telerik中文網!
掃描關注慧聚IT微信公衆號,及時獲取最新動態及最新資訊