META-INF.resources.asset.ajaxjs-ui.doc.include.pages.jsp Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ajaxjs-web Show documentation
Show all versions of ajaxjs-web Show documentation
AJAXJS Web aims to full-stack, not only the server-side framework, but also integrates the front-end library. It's written in HTML5 + Java, a successor to the JVM platform, efficient, secure, stable, cross-platform and many other advantages, but it abandoned the traditional enterprise architecture brought about by the large and bloated, emphasizing the lightweight, and fast, very suitable for the Internet fast application.
<%@page pageEncoding="UTF-8"%>
全屏幕加载指示器
例子:
演示:
该功能通过以下代码实现。
document.onreadystatechange = function () {
if(document.readyState === "complete") {
aj(".aj-fullscreen-loading").classList.add('fadeOut');// 关闭遮罩
}
}
Baidu 自定义搜索
属性
含义
类型
是否必填,默认值
siteDomainName
搜索网站之域名
String
n, 通过 js 返回域名
例子:
演示:
分享页面的按钮
例子:
演示:
选择正文字体大小
属性
含义
类型
是否必填,默认值
articleTarget
正文所在的位置,通过 CSS Selector 定位
String
n, article p
例子:
演示:
切换简体、繁体中文
属性
含义
类型
是否必填,默认值
jsurl
js字库文件较大,外部引入
String
y
例子:
演示:
暂不演示,代码高亮和 js 冲突。
分享页面的按钮
例子:
演示: