Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question regarding IOS11 #2

Open
yochyG opened this issue Aug 25, 2019 · 1 comment
Open

Question regarding IOS11 #2

yochyG opened this issue Aug 25, 2019 · 1 comment

Comments

@yochyG
Copy link

yochyG commented Aug 25, 2019

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.
Simulator Screen Shot - iPhone Xs - 2019-08-25 at 07 57 02
Simulator Screen Shot - iPhone Xs - 2019-08-25 at 08 00 45

`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");`
@Emadello
Copy link
Owner

Hello,

Apologies for the late reply, I will check and fix and release an update

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants