dojo创建浮动工具栏
You have probably noted over the past few months that I've been working a lot with the Dojo Toolkit. SitePen has been kind enough to allow me to guest blog about a Dojo topic I find very interesting: creating and enhancing Dojo classes. From the post:
您可能已经注意到,过去几个月来我一直在使用Dojo Toolkit。 SitePen足够友善,可以让我来宾撰写有关我发现非常有趣的Dojo主题的博客:创建和增强Dojo类。 从帖子:
Like all top-notch JavaScript toolkits, Dojo tries to make its classes as flexible as possible, knowing that users of the toolkit may have different ideas about how a given class or class method should work. Luckily, Dojo provides you a number of methods by which you can subclass or modify existing classes. Let's examine a few ways you can make Dojo classes exactly the way you like.
与所有顶级JavaScript工具包一样,Dojo知道该工具包的用户可能对给定的类或类方法应如何工作有不同的想法,因此尝试使其类尽可能地灵活。 幸运的是,Dojo为您提供了许多方法,您可以通过这些方法来子类化或修改现有类。 让我们研究几种完全可以按照自己的方式制作Dojo类的方法。
Click here to check it out!
点击这里查看!
dojo创建浮动工具栏