大约有 3 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0016 秒)
...的继承的示范: ```javascript var HttpRequestExtension = (function (_super) { function HttpRequestExtension() { HttpRequestExtension.__super.call(this); } Laya.class(HttpRequestExtension, 'HttpRequestExtension', _super); var __proto = HttpRequestExtension.prototype; __proto.send = function (ur...
来源: Laya2.0_文档 发布时间: 20210714
... var Image = Laya.Image; var WID = 373, HEI = 85; function Item() { Item.__super.call(this); this.size(WID, HEI); this.img = new Image(); this.addChild(this.img); this.setImg = function(src) { this.img.skin = src; } } Laya.class(Item, "Item", Box); // 主要逻辑代码 var Stage = Laya.Stage; var L...
来源: Laya2.0_文档 发布时间: 20210714
...: {"name": "render", "right": "0", "left": "0"}}; function Item() { Item.__super.call(this); this.right = 0; this.left = 0; var selectBox = new Clip("../../res/ui/tree/clip_selectBox.png", 1, 2); selectBox.name = "selectBox"; //设置 selectBox 的name 为“selectBox”时,将被识别为树结...
来源: Laya2.0_文档 发布时间: 20210715