Created
January 7, 2019 06:26
-
-
Save ArunPnurA/64f228f551f8aea048eb08deb351be14 to your computer and use it in GitHub Desktop.
Splitter : integration
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
<template> | |
<require from="./integration.css"></require> | |
<require from="./test"></require> | |
<div class="content-container-fluid"> | |
<div class="row"> | |
<div class="cols-sample-area splitter-width"> | |
<!----------------Autocomplete Control----------------> | |
<button id="btnOpen" class="e-btn" ej-button="e-text:Click to open dialog; size: medium, type: button, height: 30, width: 150" | |
e-on-click.trigger="onOpen()"></button> | |
<ej-splitter id="outterSpliter" e-height="250" e-width="50%" e-orientation.bind="orientation" | |
e-properties.bind="properties" e-enable-auto-resize="true" style="margin:0 auto;"> | |
<ej-splitter id="innerSpliter" e-enable-auto-resize="true"> | |
<div> | |
<div class="panecontent">Pane 1 </div> | |
</div> | |
<div> | |
<div class="panecontent">Pane 2 </div> | |
</div> | |
</ej-splitter> | |
<div> | |
<div class="panecontent">Pane 3 </div> | |
</div> | |
</ej-splitter> | |
<ej-dialog ej-dialog.ref="dialog" id="basicDialog" e-title="Audi Q3 Drive" e-width="550" e-min-width="310" e-min-height="215" e-containment=".control" | |
e-on-close.trigger="onDialogClose()"> | |
<h1>Audi Q3</h1> | |
<div class="content"> | |
It is a concept vehicle with Liquid Silver body colour, 20-inch wheels, fabric folding roof, electrically-controlled hood, | |
4-cylinder 2.0 TDI engine rated 204 PS (150 kW; 201 hp) and 400 N·m (295.02 lbf·ft), diesel particulate filter | |
and Bluetec emission control system, quattro permanent four-wheel drive system with Haldex clutch, Audi S tronic | |
dual-clutch gearbox, McPherson-strut front axle and a four-link rear axle, Audi drive select system with 3 modes | |
(dynamic, sport, efficiency), MMI control panel with touch pad and dual-view technology, sound system with the | |
prominent extending tweeters. | |
</div> | |
</ej-dialog> | |
<!-------------------------------------------------> | |
</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
export class BasicUse { | |
constructor() { | |
this.orientation = ej.Orientation.Vertical; | |
this.properties = [{}, { paneSize: 80 }]; | |
} | |
onOpen(args) { | |
$('#btnOpen').hide(); | |
this.dialog.widget.open(); | |
} | |
onDialogClose(args) { | |
$('#btnOpen').show(); | |
} | |
} |
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
<!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> | |
<!-- Essential Studio for JavaScript theme reference --> | |
<link rel="stylesheet" href="https://cdn.syncfusion.com/16.4.0.42/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 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; | |
} | |
.cont { | |
padding: 20px; | |
min-width: 50px; | |
} | |
.cont #treeView_Container { | |
margin-bottom: 0; | |
border: none; | |
} | |
.h3 { | |
font-size: 14px; | |
margin: 0; | |
} | |
.spe { | |
display: none; | |
} | |
@media (max-width: 1920px) and (min-width: 1024px){ | |
.row .cols-sample-area { | |
min-height: 406px; | |
} | |
} | |
.row .cols-sample-area { | |
background-color: white; | |
margin-bottom: 25px; | |
padding: 25px; | |
min-width: 250px; | |
} |
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
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