ionic底部/Footer
Footers are regions at the bottom of a screen that can contain various types of content.
<divclass="bar bar-footer bar-balanced"><divclass="title">Footer</div></div>
Footers have the same color options as the headers, just use bar-footer
instead of bar-header
. If a title is present in the footer, any buttons will automatically be placed on the correct side of the title in relation to how the markup was written, such as:
<divclass="bar bar-footer"><buttonclass="button button-clear">Left</button><divclass="title">Title</div><buttonclass="button button-clear">Right</button></div>
Additionally, if no title is present and a right side button is required, you'll need to add pull-right
to the right side button, such as:
<divclass="bar bar-footer"><buttonclass="button button-clear pull-right">Right</button></div>