<html>
<head>
<title>Hello Dojo</title>
<style type="text/css">
@import "dojo/dijit/themes/tundra/tundra.css";
@import "dojo/dojo/resources/dojo.css";
</style>
<script type="text/javascript" src="dojo/dojo/dojo.js" djConfig="parseOnLoad:true"></script>
</head>
<body class="tundra">
<script>
dojo.require("dijit.form.Button");
dojo.ready(function(){alert("hh");});
</script>
<button dojoType="dijit.form.Button" id="helloButton">
Hello Dojo
<script type="dojo/method" event="onClick">alert("you pressed the button");</script>
</button>
</body>
</html>
dojo-dijit.form.Button的使用
最新推荐文章于 2020-10-22 15:23:25 发布