Last active
July 20, 2018 14:21
-
-
Save gregoryagu/8b272f9684ef7e3ff10017bbd7c77d01 to your computer and use it in GitHub Desktop.
Aurelia Samples - Calendar Issue with Drag and Drop
This file contains hidden or 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
<template> | |
<require from="./basic-use.css"></require> | |
<div class="content-container-fluid"> | |
<div class="row"> | |
<div style="padding: 10px"> | |
<div style="border: 1px solid lightgrey"> | |
<div style="d-flex"> | |
<div style="height:100px">Test</div> | |
<ej-schedule id="Schedule1" e-width="100%" e-appointment-settings.bind="AppointmentList" e-current-date="04/03/2016"> | |
</ej-schedule> | |
</div> | |
</div> | |
</div> | |
</div> | |
</div> | |
</template> |
This file contains hidden or 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
export class BasicUse { | |
constructor() { | |
this.orientation = ej.Orientation.Vertical; | |
this.properties = [{}, { paneSize: 80 }]; | |
this.AppointmentList = { | |
dataSource: [ | |
{ | |
Id: 113, | |
Subject: 'HighWay Thru Hell', | |
StartTime: '2014/4/1 03:00:00', | |
EndTime: '2014/4/1 07:00:00', | |
StartTimeZone: 'UTC +05:30', | |
EndTimeZone: 'UTC +05:30', | |
Description: '', | |
AllDay: false, | |
Recurrence: false, | |
Categorize: '5,6,3' | |
}, { | |
Id: 115, | |
Subject: 'Cash Cab', | |
StartTime: '2014/3/30 15:00:00', | |
EndTime: '2014/3/30 16:30:00', | |
StartTimeZone: 'UTC +05:30', | |
EndTimeZone: 'UTC +05:30', | |
Description: '', | |
AllDay: false, | |
Recurrence: true, | |
RecurrenceRule: 'FREQ=DAILY;INTERVAL=1;COUNT=5', | |
Categorize: '1,3' | |
}], | |
id: 'Id', | |
subject: 'Subject', | |
startTime: 'StartTime', | |
endTime: 'EndTime', | |
startTimeZone: 'StartTimeZone', | |
endTimeZone: 'EndTimeZone', | |
description: 'Description', | |
allDay: 'AllDay', | |
recurrence: 'Recurrence', | |
recurrenceRule: 'RecurrenceRule' | |
}; | |
} | |
} |
This file contains hidden or 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
.e-splitter{ | |
display: block; | |
} | |
.content { | |
padding: 10px 0 0 10px; | |
text-align: center; | |
} | |
@media (max-width: 1920px) and (min-width: 1024px){ | |
.row .cols-sample-area { | |
min-height: 1006px; | |
} | |
} | |
.row .cols-sample-area { | |
background-color: white; | |
margin-bottom: 25px; | |
padding: 25px; | |
min-width: 250px; | |
} |
This file contains hidden or 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
<!DOCTYPE html> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta name="description" content="Essential Studio for JavaScript"> | |
<meta name="author" content="Syncfusion"> | |
<title>Untitled</title> | |
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.2/css/bootstrap.min.css" integrity="sha384-Smlep5jCw/wG7hdkwQ/Z5nLIefveQRIY9nfy6xoR1uRYBtpZgI6339F5dgvm/e9B" crossorigin="anonymous"> | |
<!-- Essential Studio for JavaScript theme reference --> | |
<link rel="stylesheet" href="https://cdn.syncfusion.com/14.2.0.28/js/web/flat-azure/ej.web.all.min.css" /> | |
</head> | |
<body aurelia-app="main"> | |
<h1>Loading...</h1> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/systemjs/0.19.6/system.js"></script> | |
<script src="https://rawgit.com/aurelia-ui-toolkits/aurelia-syncfusion-bundles/0.0.1/config2.js"></script> | |
<script> | |
System.import('aurelia-bootstrapper'); | |
</script> | |
</body> | |
</html> |
This file contains hidden or 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
export function configure(aurelia) { | |
aurelia.use | |
.standardConfiguration() | |
.developmentLogging() | |
.plugin('aurelia-syncfusion-bridge', syncfusion => syncfusion.useAll()); | |
aurelia.start().then(a => a.setRoot()); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment