Open hjzheng opened 10 years ago
<div data-role="page">
to define a Page<ul><li>
tags to render a list view<ul><li>
can help to create sub list view.<a>
tag<ul>
defines the default icon for split button<li>
defines the icon for one row<ol>
tag will generate a number index for list items// change mobile configuration
$(document).bind("mobileinit", function() {
$.mobile.property=“propertyValue";
});
name | use |
---|---|
ns | Namespace for data attribute |
activeBtnClass | css class for buttons in active status |
activePageClass | css class for pages currently being reviewed |
ajaxEnabled | Whether to use ajax for page loading and form submission or not |
allowCrossDomainPages | A security setting for load remote pages |
autoInitializePage | Initialize page on load or not |
defaultDialogTransition | How to show dialogs |
defaultPageTransition | How to show pages |
gradea | Determine whether it is a “good” browser |
hasListeningEnabled | Listen to the change of location.hash property or not |
ignoreContentEnabled | Disable jQuery Mobile auto enhancement |
linkBindingEnabled | Listen to the link click or not |
loadingMessage | The message for loading |
loadingMessageTextVisible | Show the loading message or not |
loadingMessageTheme | The theme for page loading dialog |
minScrollBack | Remember the last position of page scroll |
pageLoadErrorMessage | The message for loading error |
pageLoadErrorMessageTheme | Show the loading error message or not |
pushStateEnabled | Use html5 pushState function or hash based |
changed | for page navigation |
subPageUrlKey | Customize the prefix for page url |
Sublime Text MAC 快捷键 shift + cmd + p 打开命令面板 control + ` 控制台 cmd + n 新建标签 cmd + 数字 标签切换 cmd + option + 2 分成两屏 control + 数字 分屏时移动到不同的屏幕 cmd + delelte 删除光标前所有字符, 貌似是Mac快捷键 cmd + f 查找 option + cmd + f 查找替换 cmd + t 文件跳转 control + g 行跳转, 类似vim中的num + gg cmd + r 函数跳转 cmd + / 给选中行添加或去掉注释 cmd + [或 cmd + ] 智能行缩进 cmd + k + b 开关侧边栏
Sublime text使用
Package Control 安装方法
Sublime Text2的命令
用Package Control安装插件的方法:
为Package Control 添加代理
将以下代码加入到Preferences >> Package Settings >> Package Control >> Settings – User 中:
插件推荐 Package Control
主题推荐
入门PPT
常用快捷键 传送门 MAC版的快捷键
视频教程
Sublime Text 全程指南
相关文章