[html]
<ul>
</ul> |
[boostrap.html]
<template>
<require from="syncfusion-javascript/Content/ej/web/ej.widgets.core.bootstrap.min.css"></require>
<require from="syncfusion-javascript/Content/ej/web/bootstrap-theme/ej.theme.min.css"></require>
<require from="syncfusion-javascript/Content/ej/web/responsive-css/ej.responsive.css"></require>
<section>
<div id="navigationPane"> |
[nav-bar.html]
<div id="navigationPane">
<ul>
<li data-ej-text="Home"></li>
<li data-ej-text="Profile"></li>
<li data-ej-text="Photos"></li>
<li data-ej-text="Location" data-ej-navigateurl="../#/syncfusion"></li>
</ul>
</div>
|
[nav-bar.html]
<template>
<require from="syncfusion-javascript/Content/ej/web/ej.widgets.core.bootstrap.min.css"></require>
<require from="syncfusion-javascript/Content/ej/web/bootstrap-theme/ej.theme.min.css"></require>
<require from="syncfusion-javascript/Content/ej/web/responsive-css/ej.responsive.css"></require>
<nav class="navbar navbar-expand-md navbar-dark bg-dark fixed-top">
<div class="navbar-brand icon-target" id="target"></div>
<div class="navi">
<div id="target" class="icon-target"> Drawer</div>
</div> |
Thank you so much.
Is there documentation listing additional properties like the navigateUrl?
I looked in the api for menu and listview and did not see it.
Again thank you very much for your help.
Forum ID – 132510
Regarding the navigation drawer you fixed the problem regarding display and navigation, but now it will not automatically close when you select a menu item.
Thanks
In addition icons are not working. data-ej-imageclass="e-home" no icon is displayed
Regarding the mouseUp click event it does not seem to be firing. This may be an Aurelia issue. I am not using the aurelia-syncfusion-bridge
attached() {
$("#navigationDrawer").ejNavigationDrawer({ targetId: "target", type: "overlay", direction: "left", enableListView: true, listViewSettings: { width: 200, selectedItemIndex: 0, mouseUp: "slideMenuClick", persistSelection: false }, position: "normal" });
}
slideMenuClick(e) {
alert('test')
}
Thanks and sorry for taking up so much of your time.
[html]
<div id="navigationPane">
<ul>
<li data-ej-text="Home" data-ej-imageclass='e-icon e-home'></li>
<li data-ej-text="Profile"></li>
<li data-ej-text="Photos"></li>
<li data-ej-text="Location" data-ej-navigateurl="../#/syncfusion"></li>
</ul>
</div> |
[nav-bar.js]
attached() {
$("#navigationPane").ejNavigationDrawer({enableListView: true, targetId: "target",
listViewSettings: { width: 200, selectedItemIndex: 0,
mouseUp: function(e) {
alert("mouseUp event is triggered");
},
persistSelection: false }
});
} |
[nav-bar.js]
attached() {
$("#navigationPane").ejNavigationDrawer({enableListView: true, targetId: "target",
listViewSettings: { width: 200, selectedItemIndex: 0,
mouseUp: function(e) {
alert("mouseUp event is triggered");
var obj = $("#navigationPane").ejNavigationDrawer("instance");
obj.close();
},
persistSelection: false }
});
} |