jquerymobile标签-属性手册

Button data-role="button"

data-corners true | false

data-icon home | delete | plus | arrow-u | arrow-d | check | gear | grid | star | custom |                  arrow-r | arrow-l | minus | refresh | forward | back | alert | info | search

data-iconpos left | right | top | bottom | notext

data-iconshadow true | false

data-inline true | false

data-mini true | false - Compact sized version

data-shadow true | false

data-theme swatch letter (a-z)

Checkbox  type="checkbox"

data-mini true | false - Compact sized version

data-role none (prevents auto-enhancement to use native control)

data-theme swatch letter (a-z) - Added to the form element

Collapsible  data-role="collapsible"

data-collapsed    true | false

data-content-theme  swatch letter (a-z)

data-mini    true | false - Compact sized version

data-theme    swatch letter (a-z)

Collapsible set   data-role="collapsible-set"

data-content-theme swatch letter (a-z) - Sets all collapsibles in set

data-mini        true | false - Compact sized version

data-theme        swatch letter (a-z) - Sets all collapsibles in set

Content   data-role="content"

data-theme swatch letter (a-z)

Dialog   Page with data-role="page" linked to with data-rel="dialog"

data-close-btn-text string (text for the close button, dialog only)

data-dom-cache        true | false

data-fullscreen        true | false (used in conjunction with fixed toolbars)

data-overlay-theme swatch letter (a-z) - overlay theme when the page is opened in a dialog

data-theme        swatch letter (a-z)

data-title        string (title used when page is shown)

Enhancement   data-enhance="false" or data-ajax="false"

data-enhance true | false

data-ajax true | false

Flip toggle switch   data-role="slider"

data-mini      true | false - Compact sized version

data-role      none (prevents auto-enhancement to use native control)

data-theme      swatch letter (a-z) - Added to the form element

data-track-theme      swatch letter (a-z) - Added to the form element

Footer  data-role="footer"

data-id string (unique id, useful in persistent footers)

data-position fixed

data-theme swatch letter (a-z)

Header  data-role="header"

data-position fixed

data-theme swatch letter (a-z)

Link   data-role="button"

data-ajax true | false

data-direction reverse (reverse page transition animation)

data-dom-cache true | false

data-prefetch true | false

data-rel back (to move one step back in history)

dialog (to open link styled as dialog, not tracked in history)

external (for linking to another domain)

data-transition slide | slideup | slidedown | pop | fade | flip

Listview  data-role="listview"

data-count-theme swatch letter (a-z)

data-dividertheme swatch letter (a-z)

data-filter true | false

data-filter-placeholder string

data-filter-theme swatch letter (a-z)

data-inset true | false

data-split-icon home | delete | plus | arrow-u | arrow-d | check | gear | grid | star | custom | arrow-r | arrow-l | minus | refresh | forward | back | alert | info | search

data-split-theme swatch letter (a-z)

data-theme swatch letter (a-z)

Listview item

data-filtertext string (filter by this value instead of inner text)

data-icon home | delete | plus | arrow-u | arrow-d | check | gear | grid | star | custom | arrow-r | arrow-l | minus | refresh | forward | back | alert | info | search

data-role list-divider

data-theme swatch letter (a-z) - can also be set on individual LIs

Navbar  data-role="navbar"

data-icon home | delete | plus | arrow-u | arrow-d | check | gear | grid | star | custom | arrow-r | arrow-l | minus | refresh | forward | back | alert | info | search

data-iconpos left | right | top | bottom | notext

data-theme swatch letter (a-z) - can also be set on individual LIs

Page   data-role="page"

data-add-back-btn true | false (auto add back button, header only)

data-back-btn-text string

data-back-btn-theme swatch letter (a-z)

data-close-btn-text string (text for the close button, dialog only)

data-dom-cache true | false

data-fullscreen true | false (used in conjunction with fixed toolbars)

data-overlay-theme swatch letter (a-z) - overlay theme when the page is opened in a dialog

data-theme swatch letter (a-z)

data-title string (title used when page is shown)

Radio button

data-mini true | false - Compact sized version

data-role none (prevents auto-enhancement to use native control)

data-theme swatch letter (a-z) - Added to the form element

Select

data-icon home | delete | plus | arrow-u | arrow-d | check | gear | grid | star | custom |                  arrow-r | arrow-l | minus | refresh | forward | back | alert | info | search

data-iconpos left | right | top | bottom | notext

data-inline true | false

data-mini true | false - Compact sized version

data-native-menu true | false

data-overlay-theme swatch letter (a-z) - overlay theme for non-native selects

data-placeholder true | false - Add to the Option

data-role none (prevents auto-enhancement to use native control)

data-theme swatch letter (a-z) - Added to the form element

Slider

data-highlight true | false - Adds an active state fill on track to handle

data-mini true | false - Compact sized version

data-role none (prevents auto-enhancement to use native control)

data-theme swatch letter (a-z) - Added to the form element

data-track-theme swatch letter (a-z) - Added to the form element

Text input & Textarea

data-mini true | false - Compact sized version

data-role none (prevents auto-enhancement to use native control)

data-theme swatch letter (a-z) - Added to the form element

时间: 2024-10-06 09:54:57

jquerymobile标签-属性手册的相关文章

HTML 属性常用引用属性值和 标签参考手册

HTML 属性:属性是为 HTML 元素提供的附加信息. HTML 元素可以设置属性 属性可以在元素中添加附加信息 属性一般描述于开始标签 属性总是以名称/值对的形式出现,比如:name="value". e.g:<a href=https://www.cnblogs.com/dhnblog/">这是一个链接</a> HTML 链接由 <a> 标签定义.链接的地址在 href 属性中指定 HTML 属性常用引用属性值 属性值应该始终被包括在

JSTL标签参考手册

前言 ========================================================================= JSTL标签库,是日常开发经常使用的,也是众多标签中性能最好的.把常用的内容,放在这里备份一份,随用随查.尽量做到不用查,就可以随手就可以写出来.这算是Java程序员的基本功吧,一定要扎实. JSTL全名为JavaServer Pages Standard Tag Library,目前最新的版本为1.1版.JSTL是由JCP(Java Comm

JSTL标签 参考手册(http://elf8848.iteye.com/blog/245559)

JSTL标签 参考手册 博客分类: Servlet/Jsp 前言 ========================================================================= JSTL标签库,是日常开发经常使用的,也是众多标签中性能最好的.把常用的内容,放在这里备份一份,随用随查.尽量做到不用查,就可以随手就可以写出来.这算是Java程序员的基本功吧,一定要扎实. JSTL全名为JavaServer Pages Standard Tag Library,目前

vue2.0 之标签属性

标签属性v-bind <template> <div> <ul> <li v-for="item in list"> {{ item.name }} - {{ item.price }}</li> </ul> <a v-bind:href="link" v-bind:title="hello">to cnblogs</a><br/> <

关键字替换排除HTML标签属性字符

解决办法: 1.打开文件e/class/functions.php 2.找到函数 ReplaceKey($newstext,$classid=0) 3.找到替换代码 if(STR_IREPLACE) { $newstext=empty($public_r[repkeynum])?str_ireplace($r[keyname],'<a href='.$r[keyurl].' target=_blank class=infotextkey>'.$r[keyname].'</a>',$

html5 audio 标签属性

src:String型,所播放音频的 url. autoplay:值为autoplay,如果出现该属性,则音频在就绪后马上播放. controls:值为controls,如果出现该属性,则向用户显示控件,比如播放按钮. loop:值为loop,如果出现该属性,则每当音频结束时重新开始播放.          audio 有几个事件: onended:当媒介已抵达结尾时运行脚本,也就是当前歌曲播放完了,这里的"媒介"是指audio标签. onloadstart:当浏览器开始加载媒介数据时

Dom之标签属性

一.标签默认属性的查找与修改 查找 <!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>标签操作</title></head><body> <!--定义一个div标签和一个a标签--> <!--div默认属性:id,class,style,可以通过"."

Html5学习笔记1 元素 标签 属性

<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>HTML5学习笔记</title> </head> <body bgcolor="#90ee90"> 1.Html5的元素<br/><br/> 元素指的是从開始标签到结束标签的全部代码<

【转载】HTML5 Audio/Video 标签,属性,方法,事件汇总

<audio> 标签属性: src:音乐的URL preload:预加载 autoplay:自动播放 loop:循环播放 controls:浏览器自带的控制条 Html代码 <audio id=”media” src=”http://www.abc.com/test.mp3″ controls></audio> <video> 标签属性: src:视频的URL poster:视频封面,没有播放时显示的图片 preload:预加载 autoplay:自动播放