问题标签 [mootools-more]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
drag-and-drop - 停止 mootools Drag.Move 将对象缩小到左上角
我正在尝试创建一个 UI,从而可以在两个存储桶之间移动对象。我已经投资了 Mootools,并且似乎可以使用此类功能。但是,当我Drag.Move
在可拖动对象上实例化一个对象时,它会将它们更改position
为absolute
但似乎没有设置它们的绝对位置以尊重它们的原始位置。
javascript - Mootools,做某事然后做其他事
是一种更有效的方式来写这个吗?
我对 js 不是很好,并试图学习如何在每个效果完成后对单个元素运行多个效果。即增加 div 高度然后在延迟后淡出。
如果我想同时运行多个效果,但一次只运行一件事,我也很想看看代码是如何变化的。
下面的代码运行良好,但我不确定我是否应该这样做。
javascript - Mootools 1.6 Subclass initialize method is not called
I'm using mootools 1.6.
I based my code on their tutorial but when I try to run it, the initialize
function of my subclass is not invoked. Instead, it goes directly to the parent class' initialize
function.
I tried breakpointing inside the subclass initialize
function but it really doesn't go there. In fact, my additional functions are also undefined. It's like only the functions of the parent class are created. :(
Here's my sample code:
parent.js
child.js
1.) Note that they are in different js files.
2.) These files are preloaded by cocos2d-js
mootools - 使用 mootools.js 创建子选项卡
我想知道有没有一种方法可以使用 moo 工具 1.4 版在选项卡内创建选项卡。我试过了,但看起来子标签不起作用