Docs: data-add-back-btn attribute #3320

Closed
chetankjain opened this Issue Dec 22, 2011 · 1 comment

Comments

Projects
None yet
3 participants
@chetankjain
Contributor

chetankjain commented Dec 22, 2011

In the link, http://jquerymobile.com/demos/1.0/docs/toolbars/docs-headers.html and in section "Adding Back buttons", it says
This can also be set via markup if the page div has a data-add-back-btn="true" attribute.

But in the link, http://jquerymobile.com/demos/1.0/docs/api/data-attributes.html , the attribute data-add-back-btn is shown under Header, which is totally misleading. One would easily assume that the attribute is part of the header container, whereas in reality it works only when added to the page container.

Also, the other 2 related attributes data-back-btn-text and data-back-btn-theme should be listed under page container and not header

@jakeboone02

This comment has been minimized.

Show comment
Hide comment
@jakeboone02

jakeboone02 Dec 22, 2011

Contributor

That's weird... I noticed the same thing about 5 minutes before I saw this ticket.

Contributor

jakeboone02 commented Dec 22, 2011

That's weird... I noticed the same thing about 5 minutes before I saw this ticket.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment