11. Israel JavaScript Conference | 03 – 6325707 | info@e4d.co.il | www.js-il.com |
Elements playing different roles on document layout
and we choose which role to give to them by adding
data-role=*
page
header
content
footer
button
listview
list-devider
controlgroup
14. Israel JavaScript Conference | 03 – 6325707 | info@e4d.co.il | www.js-il.com |
<meta name=“viewport” content=“width=device-width” />
width - controls the size of the viewport
initial-scale - controls the zoom level when the page
is first loaded
maximum-scale, minimum-scale - control how users
are allowed to zoom the page in or out