Skip to content
This repository was archived by the owner on Oct 8, 2021. It is now read-only.
This repository was archived by the owner on Oct 8, 2021. It is now read-only.

Navbar button icons ignore data-iconpos  #2373

@chal

Description

@chal

From the docs
http://jquerymobile.com/demos/1.0b2/docs/toolbars/docs-navbar.html

Icons can be stacked above the labels by adding the data-iconpos="top" attribute to each anchor.

jQuery mobile completely ignores this attribute inside data-role="navbar". Passing values such as "left" or "right" does nothing.

Example:

<div data-role="footer">
    <div data-role="navbar">
        <ul>
            <li><a data-icon="arrow-l" data-iconpos="left">Previous</a></li>
            <li><a data-icon="arrow-r" data-iconpos="right">Next</a></li>
        </ul>
    </div><!-- /navbar -->
</div>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions