0

I need to add sliding functionality to the togglebutton of gwt-bootstrap api. Currently I am having two images(upImage and downImage) which flips on click. I want them to slide. How can I achieve it? Any idea is appreciated. Thanks in advance.

4

1 回答 1

0

如果你能用css做到这一点,我真的不知道滑动为什么不使用带有按钮类的标签并尝试呢?或者这里是另一个选项,我更喜欢使用 gwt 引导图标以及新添加的旋转功能。文档在这里

例子 :

<b:Icon type="ROTATE_RIGHT" size="FOUR_TIMES" spin="true" rotate="ROTATE_180"/>

您可能可以在点击时调用旋转和旋转?帮助你?

于 2013-12-19T03:47:48.257 回答