本文介绍了在哪里可以找到dojo工具包dijit小部件的图标图像列表?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

简单的问题我猜,但是尽管有些谷歌搜索我没有找到一个答案。有没有人知道在哪里可以找到Dojo工具包中可用的图标列表?

Simple question I guess, but despite some googling I'm no closer to finding an answer. Does anyone know where to find a list of the icons available in the Dojo toolkit?

推荐答案

最好的地方是。在这里,您可以查看与所有可用图标样式对应的CSS类,如果您,你可以看到图标精灵。不幸的是,这不像简单的类名称 - > 图标图像映射,但是所有的CSS类名按照与sprite图像相同的顺序列出,

The best place to look at would be Dojo Toolkit nightly icon directory. Here you can view the CSS classes that correspond to all available icon styles, and if you go to the images directory you can actually see the icon sprites. Unfortunately this isn't as simple as a Class Name -> Icon Image mapping, but all the CSS class names are listed in the same order as the sprite images, left to right.

要快速扫描,请知道 commonIcons.css 文件以此顺序分解类: / p>

To quickly scan, know that the commonIcons.css file break down the classes in this order:


  1. 图标类

  2. IE6图标类(8位)

  3. 禁用图标类

  4. 在sprite图像上设置相应位置的背景位置

  1. Icon Class
  2. IE6 Icon Class (8 bit)
  3. Disabled Icon Class
  4. Setting background positions to their respective places on the sprite image

editorIcons.css 类只列出所有的类名。

The editorIcons.css class simply lists all class names.

我能够找到在一个更容易阅读的列表中,但是,Dojo不像以上网站那样维护,并不一定保持最新。

I was able to find the Dijit Editor icons in an easier to read list, however, this is not maintained by Dojo like the site above and will not necessarily keep up to date.

这篇关于在哪里可以找到dojo工具包dijit小部件的图标图像列表?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-06 22:19