Exemple #1
0
	pullToRefreshEvent = function() {
		currentWindow = $windowManager.current();
		currentWindow.setPullToRefresh({
			support: true,
			height: "50px",
			range: "200px",
			contentdown: {
				caption: "下拉可以刷新"
			},
			contentover: {
				caption: "释放立即刷新"
			},
			contentrefresh: {
				caption: "正在刷新..."
			}
		}, onRefresh);
	};
Exemple #2
0
		workHead.addEventListener("loaded", function() { //叶面加载完成后才显示
			$windowManager.current().append(workHead);
			$('span[dir="platform"]', '#bottomTab').attr('lang', '1');
		}, false);
Exemple #3
0
				officeViewWindow.addEventListener("loaded", function() {
					$windowManager.current().append(officeViewWindow);
					window.setTimeout(function() {
						$nativeUIManager.wattingClose();
					}, 1500);
				}, false);
		item.addEventListener("loaded", function() {
			$windowManager.current().append(item);
		}, false);
Exemple #5
0
					imgViewWindow.addEventListener("loaded", function() {
						$windowManager.current().append(imgViewWindow);
						$nativeUIManager.wattingClose();
					}, false);