标签:
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>datepicker基本配置</title>
<script src="../../bower_components/avalon.oniui/avalon.js"></script>
<!--<script data-main="main" defer async="true" src="../../bower_components/requirejs/require.js"></script>-->
<script>
require(["datepicker/avalon.datepicker"], function() {
avalon.ready(function(){
var datamodule = avalon.define({
$id:‘demo‘
});
avalon.scan();
})
})
</script>
</head>
<body>
<div ms-controller="demo">
<input type="text" ms-widget="datepicker"/>
</div>
</body>
</html>
avalon-ui篇datepicker:datepicker基本配置
标签:
原文地址:http://www.cnblogs.com/Zjingwen/p/4475164.html