This repository has been archived on 2023-08-30. You can view files and clone it, but cannot push or open issues/pull-requests.
bytedo
/
wcui
Archived
1
0
Fork 0
wcui/js/lib/pages/ex-1.html

57 lines
1.0 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<title>Examples-1</title>
<meta name="description" content="">
<meta name="keywords" content="">
<link href="../css/base.min.css" rel="stylesheet">
<style>
.do-mod-test {width:800px;height:100px;margin:30px;padding:30px;border:1px solid #ddd;}
.do-mod-test .date-start {width:100%;height:35px;}
</style>
</head>
<body>
<div class="do-mod-test" ms-controller="test">
<div class="pages" ms-widget="pages" data-pages-skin="red"></div>
</div>
<script src="../avalon.modern.min.js"></script>
<script>
;(function(A){
require(['./pages/pages'], function(){
var test = A.define({
$id: 'test',
aa: '112233',
pages: {
callback: function(id){
console.log(id);
},
total: 30
}
});
A.scan();
})
})(avalon);
</script>
</body>
</html>
wcui是一套基于`Web Components`的UI组件库, 宗旨是追求简单、实用、不花哨。
JavaScript 95.2%
CSS 4.8%