Last active
January 7, 2019 12:58
-
-
Save ArunPnurA/17a9458350c3d67fe1953e7aca5a4023 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> | |
<div class="content-container-fluid"> | |
<div class="row"> | |
<div class="cols-sample-area splitter-width"> | |
<!----------------Autocomplete Control----------------> | |
<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> | |
</ej-splitter> | |
<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-dialog ej-dialog.ref="dialog" id="basicDialog" e-show-on-init=false e-title="Audi Q3 Drive" e-width="550" e-min-width="310" e-min-height="515" e-containment=".control" | |
e-on-create.trigger="onDialogCreate()" e-on-close.trigger="onDialogClose()"> | |
<h1>Audi Q3</h1> | |
<div class="content"> | |
</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() { | |
} | |
onOpen(args) { | |
$('#btnOpen').hide(); | |
$('.e-dialog').css("z-index", ej.getMaxZindex()) | |
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
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