Even though I copy all of it from the Fabric documentation, it doesn't work. I don't see any drop-down on clicking the button. All this is inside a command bar
<script type="text/javascript">
var CommandBarElements = document.querySelectorAll(".ms-CommandBar");
for (var i = 0; i < CommandBarElements.length; i++) {
new fabric['CommandBar'](CommandBarElements[i]);
}
</script>
I tried in IE as well as in Firefox. Doesn't Work !
Microsoft no longer supports this content and will not be responding to bugs or issues. We recommend that you use the newer version, Office UI Fabric, with React as your front-end framework. We are closing this issue; if you still need assistance with Fabric.js, visit Stack Overflow/office-ui-fabric.
Hi,
I am trying to put a drop-down in a command bar, with the following code:
Even though I copy all of it from the Fabric documentation, it doesn't work. I don't see any drop-down on clicking the button. All this is inside a command bar
Documentation link: https://dev.office.com/fabric-js/Components/CommandBar/CommandBar.html
The Fabric code used to render it, is:
I tried in IE as well as in Firefox. Doesn't Work !
Any help ??
Regards,
Raj Abhishek
Microsoft no longer supports this content and will not be responding to bugs or issues. We recommend that you use the newer version, Office UI Fabric, with React as your front-end framework. We are closing this issue; if you still need assistance with Fabric.js, visit Stack Overflow/office-ui-fabric.