Skip to content
This repository was archived by the owner on Dec 11, 2021. It is now read-only.

Kendo ui mobile #56

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions performance/frameworks/kendo-ui-mobile.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
module.exports = {
css: [ "//cdn.kendostatic.com/2014.1.318/styles/kendo.common.min.css",
"//cdn.kendostatic.com/2014.1.318/styles/kendo.default.min.css",
"//cdn.kendostatic.com/2014.1.318/styles/kendo.dataviz.min.css",
"//cdn.kendostatic.com/2014.1.318/styles/kendo.dataviz.default.min.css",
"//cdn.kendostatic.com/2012.1.318/styles/kendo.mobile.all.min.css"
],
button: {
generator: function( options ) {
var button = "<button class='km-button " + options.state + " " +
options.mobile + " " + options.disabled + "' >";
if ( options.icon ) {
button = button + "<span class='k-sprite k-icon " + options.icon + "'></span>";
}
return button + " Button </button>";
},
variations: {
state: [
"",
"k-primary"
],
disabled: [
"",
"k-state-disabled"
],
icon: [
false,
"k-i-funnel",
"k-i-funnel-clear",
"k-i-refresh"
]
}
}
};
33 changes: 33 additions & 0 deletions performance/frameworks/kendo-ui.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
module.exports = {
css: [ "//cdn.kendostatic.com/2014.1.318/styles/kendo.common.min.css",
"//cdn.kendostatic.com/2014.1.318/styles/kendo.default.min.css",
"//cdn.kendostatic.com/2014.1.318/styles/kendo.dataviz.min.css",
"//cdn.kendostatic.com/2014.1.318/styles/kendo.dataviz.default.min.css"
],
button: {
generator: function( options ) {
var button = "<button class='k-button " + options.state + " " +
options.disabled + "' >";
if ( options.icon ) {
button = button + "<span class='k-sprite k-icon " + options.icon + "'></span>";
}
return button + " Button </button>";
},
variations: {
state: [
"",
"k-primary"
],
disabled: [
"",
"k-state-disabled"
],
icon: [
false,
"k-i-funnel",
"k-i-funnel-clear",
"k-i-refresh"
]
}
}
};
6 changes: 5 additions & 1 deletion tasks/options/perfjankie.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,11 @@ module.exports = {
"http://localhost:4200/framework/semantic-ui/component/button/count/1000/" +
"semantic-ui:button",
"http://localhost:4200/framework/dojo/component/button/count/1000/" +
"dojo:button"
"dojo:button",
"http://localhost:4200/framework/kendo-ui/component/button/count/1000/" +
"kendo-ui:button",
"http://localhost:4200/framework/kendo-ui-mobile/component/button/count/1000/" +
"kendo-ui-mobile:button"
]
}
}
Expand Down