-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3918434
commit e68cf2b
Showing
618 changed files
with
1,943 additions
and
788 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,7 +19,9 @@ | |
"font-awesome": "npm:font-awesome@^4.5.0", | ||
"google/code-prettify": "github:google/code-prettify@master", | ||
"jquery": "github:components/[email protected]", | ||
"jquery-easing": "npm:jquery.easing@^1.3.2", | ||
"jquery-validation": "npm:[email protected]", | ||
"jquery-validation-unobtrusive": "npm:[email protected]", | ||
"json": "github:systemjs/plugin-json@^0.1.0", | ||
"jsrender": "npm:jsrender@^0.9.75", | ||
"prettify": "npm:prettify@^0.1.7", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,48 +1,48 @@ | ||
{ | ||
"title": "Button", | ||
"documentation": "http://help.syncfusion.com/js/api/ejbutton", | ||
"samples": { | ||
"Default-Functionalities": { | ||
"default": true, | ||
"files": [ "html", "js" ], | ||
"gist":"205deb7266bdf25a56875cf7d25945c0" | ||
}, | ||
"Toggle-Buttons": { | ||
"files": [ "html", "js"], | ||
"gist":"39f6ddc76684227613ab48659464ea6e" | ||
}, | ||
"Split-Buttons": { | ||
"files": [ "html", "js"], | ||
"gist":"d3d0a17e1f23a9a948645ab98c3debc2" | ||
}, | ||
"Group-Button": { | ||
"files": [ "html" ], | ||
"gist":"54d1bdb9d3bf8487d811c60f510fdcae" | ||
}, | ||
"Repeat-Button": { | ||
"files": [ "html", "js" ], | ||
"gist":"daef91bed7e174beee9f557d72d56c30" | ||
}, | ||
"CheckBox": { | ||
"files": [ "html", "js"], | ||
"gist":"9ecfff89acbc159fe8538a897937bf5e" | ||
}, | ||
"Radio-Buttons": { | ||
"files": [ "html", "js"], | ||
"gist":"cc1294f8306691d450c83f61310305ee" | ||
}, | ||
"API": { | ||
"title" : "API's", | ||
"files": [ "html", "js" ], | ||
"gist":"2feb10051e7d1ede5552a382954d3332" | ||
}, | ||
"Events": { | ||
"files": [ "html", "js"], | ||
"gist":"cb0273fc45ebad8e48b1389c6f9c3dda" | ||
}, | ||
"RTL": { | ||
"files": [ "html", "js"], | ||
"gist":"b3220e78e46c2127d753d6e5048d563b" | ||
} | ||
"samples": { | ||
"Default-Functionalities": { | ||
"default": true, | ||
"files": [ "html", "js" ], | ||
"gist": "205deb7266bdf25a56875cf7d25945c0" | ||
}, | ||
"Toggle-Buttons": { | ||
"files": [ "html", "js" ], | ||
"gist": "39f6ddc76684227613ab48659464ea6e" | ||
}, | ||
"Split-Buttons": { | ||
"files": [ "html", "js" ], | ||
"gist": "d3d0a17e1f23a9a948645ab98c3debc2" | ||
}, | ||
"Group-Button": { | ||
"files": [ "html" ], | ||
"gist": "54d1bdb9d3bf8487d811c60f510fdcae" | ||
}, | ||
"Repeat-Button": { | ||
"files": [ "html", "js" ], | ||
"gist": "daef91bed7e174beee9f557d72d56c30" | ||
}, | ||
"CheckBox": { | ||
"files": [ "html", "js" ], | ||
"gist": "9ecfff89acbc159fe8538a897937bf5e" | ||
}, | ||
"Radio-Buttons": { | ||
"files": [ "html", "js" ], | ||
"gist": "cc1294f8306691d450c83f61310305ee" | ||
}, | ||
"API": { | ||
"title": "API's", | ||
"files": [ "html", "js" ], | ||
"gist": "2feb10051e7d1ede5552a382954d3332" | ||
}, | ||
"Events": { | ||
"files": [ "html", "js" ], | ||
"gist": "cb0273fc45ebad8e48b1389c6f9c3dda" | ||
}, | ||
"RTL": { | ||
"files": [ "html", "js" ], | ||
"gist": "b3220e78e46c2127d753d6e5048d563b" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<template> | ||
<require from="./Common.css"></require> | ||
<div class="row"> | ||
<div class="frame"><div> | ||
<label>Select DateRange</label> | ||
<input id="daterangepick" ej-date-range-picker="e-value.two-way:daterangeValue;e-enabled.bind:dtStatus;e-width.bind:'100%'" e-on-open.trigger="onOpen()" e-on-close.trigger="onClose()"></input> | ||
</div> | ||
</div> | ||
</div> | ||
<div id="property-window" class="box wide"> | ||
<div class="row"> | ||
<div class="col-sm-2"> | ||
<input type="checkbox" id="status" ej-toggle-button="e-size.bind:'medium';e-show-rounded-corner.bind:true;e-active-text.bind:'Enable';e-default-text.bind:'Disable'" e-on-change.trigger="onEnable($event)"></input> | ||
<label for="status">Toggle</label> | ||
</div> | ||
<div class="col-sm-2"> | ||
<button id="getval" ej-button="e-text.bind:'Get Value';e-size.bind:'medium';" e-on-click.trigger="getSelectedValue()"></button> | ||
</div> | ||
<div class="col-sm-2"> | ||
<input type="checkbox" id="show" ej-toggle-button="e-size.bind:'medium';e-show-rounded-corner.bind:true;e-active-text.bind:'Hide';e-default-text.bind:'Show';e-enabled.bind:btnStatus" e-on-create.trigger="ontglbtnCreate()" e-on-change.trigger="onShow($event)"></input> | ||
<label for="show">Toggle</label> | ||
</div> | ||
</div> | ||
</div> | ||
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
export class API { | ||
constructor() { | ||
this.datetimeValue = '5/18/2016 - 5/21/2016'; | ||
this.btnStatus = true; | ||
this.dtStatus = true; | ||
} | ||
ontglbtnCreate() { | ||
$('.e-togglebutton').mousedown(function(e) { | ||
e.stopPropagation(); | ||
}); | ||
} | ||
onClose() { | ||
let tgleBtn = $('#show').ejToggleButton('instance'); | ||
tgleBtn.option('toggleState', false); | ||
} | ||
onOpen() { | ||
let tgleBtn = $('#show').ejToggleButton('instance'); | ||
tgleBtn.option('toggleState', true); | ||
} | ||
onEnable(args) { | ||
if (args.detail.isChecked) { | ||
this.dtStatus = false; | ||
this.btnStatus = false; | ||
} else { | ||
this.dtStatus = true; | ||
this.btnStatus = true; | ||
} | ||
} | ||
getSelectedValue() { | ||
let dateRangeObj = $('#daterangepick').ejDateRangePicker('instance'); | ||
/*eslint-disable */ | ||
alert('Selected Date&Time is : ' + dateRangeObj.getSelectedRange().StartDate); | ||
alert('Selected Date&Time is : ' + dateRangeObj.getSelectedRange().EndDate); | ||
/*eslint-enable */ | ||
} | ||
onShow(args) { | ||
let dateRangeObj = $('#daterangepick').ejDateRangePicker('instance'); | ||
if (args.detail.isChecked) dateRangeObj.popupShow(); | ||
else dateRangeObj.popupHide(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
.row [class*="cols-"]:first-child > div:first-child { | ||
margin: 0 auto; | ||
} | ||
|
||
.frame { | ||
padding: 30px 20px; | ||
color: #5C5C5C; | ||
width:300px; | ||
margin: 0 auto; | ||
} | ||
@media (max-width: 440px){ | ||
.frame{ | ||
width: auto !important; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<template> | ||
<require from="./Common.css"></require> | ||
<div class="row"> | ||
<div class="frame"><div> | ||
<label>Select DateRange</label> | ||
<input id="daterangepick" ej-date-range-picker="e-value.bind:daterangeValue;e-enable-time-picker.bind:enableTimePicker;e-width.bind:'100%'"></input> | ||
</div> | ||
</div> | ||
</div> | ||
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
export class Meridian { | ||
constructor() { | ||
this.daterangeValue = '5/18/2016-5/29/2016'; | ||
this.enableTimePicker = true; | ||
} | ||
} |
11 changes: 11 additions & 0 deletions
11
sample/src/samples/daterangepicker/Default-functionalities.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<template> | ||
<require from="./Common.css"></require> | ||
<div class="row"> | ||
<div class="frame"> | ||
<div> | ||
<label>Select RangeTime</label> | ||
<input id="daterangepick" ej-date-range-picker="e-value.bind:daterangeValue;e-width.bind:'100%'"></input> | ||
</div> | ||
</div> | ||
</div> | ||
</template> |
5 changes: 5 additions & 0 deletions
5
sample/src/samples/daterangepicker/Default-functionalities.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
export class Default { | ||
constructor() { | ||
this.daterangeValue = '3/14/2017 - 4/17/2017'; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<template> | ||
<require from="./Common.css"></require> | ||
<div class="row"> | ||
<div class="frame"><div> | ||
<label>Select DateRange</label> | ||
<input id="daterangepick" ej-date-range-picker="e-value.bind:daterangeValue;e-width.bind:'100%'" e-on-create.trigger="logger.log('DateRangePicker has been created')" e-on-open.trigger="logger.log('DateRangePicker popup has been opened.')" e-on-close.trigger="logger.log('DateRangePicker popup has been closed.')" e-on-change.trigger="onChange($event)" ></input> | ||
</div> | ||
</div> | ||
</div> | ||
<div id="Logger" class="box"> | ||
<h4>Event Trace</h4> | ||
<logger view-model.ref="logger"></logger> | ||
<div> | ||
<button class="logger-button" ej-button="e-text:Clear" e-on-click.trigger = "logger.clear()" ></button> | ||
</div> | ||
</div> | ||
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
export class Events { | ||
constructor() { | ||
this.daterangeValue = '5/18/2016-5/28/2016'; | ||
} | ||
onChange(args) { | ||
this.logger.log(args.detail.value + ' value was selected'); | ||
} | ||
} |
Oops, something went wrong.