Animation 如何在dojo中指定wipeIn方向

Animation 如何在dojo中指定wipeIn方向,animation,dojo,effects,Animation,Dojo,Effects,如何改变雨刮方向? 这个例子从顶部开始。我该如何让它从底部、从左侧或从右侧擦拭 require(["dojo/fx", "dojo/dom", "dojo/dom-style", "dojo/on", "dojo/domReady!"], function(coreFx, dom, style, on){ on(dom.byId("basicWipeButton"), "click", function(){ style.set("basicWipeNode", "display",

如何改变雨刮方向? 这个例子从顶部开始。我该如何让它从底部、从左侧或从右侧擦拭

require(["dojo/fx", "dojo/dom", "dojo/dom-style", "dojo/on", "dojo/domReady!"],
function(coreFx, dom, style, on){
  on(dom.byId("basicWipeButton"), "click", function(){
    style.set("basicWipeNode", "display", "none");
    coreFx.wipeIn({
      node: "basicWipeNode"
    }).play();
  });
});

<button type="button" id="basicWipeButton">Wipe It In!</button>
<div id="basicWipeNode" style="width: 200px; background-color: red; display: none;">
  <b>This is a container of random content to wipe in!</b>
</div>
require([“dojo/fx”、“dojo/dom”、“dojo/dom样式”、“dojo/on”、“dojo/domReady!”),
函数(coreFx、dom、style、on){
在(dom.byId(“basicWipeButton”),“单击”,函数()上{
set(“基本管道节点”、“显示”、“无”);
coreFx.wipeIn({
节点:“基本管道节点”
}).play();
});
});
把它擦干净!
这是一个包含随机内容的容器!

看看小部件,它有擦拭方向。希望能满足你的需要。我看到了。除了这个例子似乎做了我需要的一切。这很简单,但我不知道如何让它朝另一个方向擦拭。你会认为这是一个简单的选择。