I'm trying to use the plugin, I can't get the drawer icon to show and also the drawer doesn't extend all the way to the bottom of the screen.
Can you maybe guide me?
See code below.
`navbar.create();
navbar.setupRightButton("", 'barButton:Refresh', function() {
alert('test')
});
navbar.setupLeftButton("", 'barButton:Action', null);
navbar.showRightButton();
navbar.showLeftButton();
navbar.settitle("My Dashboard");
navbar.setBGhex("#3e8a47"); // NavBar BG Color (You can set it as 'transparent')
navbar.setTitlehex("#000000"); // Title Color (will be deprecated, use setTitleAttr instead)
navbar.setTitleAttr("#FFFFFF","Helvetica-Bold","16.0"); // If you want a custom font, you need to add it to xcode
navbar.setButtonshex("#CCCCCC"); // Buttons Color
navbar.show();
var draweritems = [];
draweritems.push(["Page1","index.html","icon.png", "im the badge"]);
draweritems.push(["Page2","index2.html","", "no badge"]);
draweritems.push(["Page3","index3.html","", null]);
navbar.setupDrawer(draweritems, "#ffffff");`
I'm trying to use the plugin, I can't get the drawer icon to show and also the drawer doesn't extend all the way to the bottom of the screen. Can you maybe guide me? See code below.
`navbar.create();