dojo小例子(35)带校验功能SimpleTextarea

////////////////////////
// 带校验功能的SimpleTextarea
///////////////////////
define(["dojo/_base/declare", "dijit/form/SimpleTextarea", "dijit/form/ValidationTextBox"],
function(declare, SimpleTextarea, ValidationTextBox) {
    return declare("ValidationTextarea", [ValidationTextBox, SimpleTextarea], {});

});

你可能感兴趣的:(dojo,校验,SimpleTextarea)