Servis-Rhino 4211B Guia do Utilizador Página 165

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 298
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 164
horizontal – Show the list horizontally.
vertical – Show the list vertically.
effectUnits – The number of pixels to scale per mouse move increment. The default is
2.
itemPadding – The number of pixels between each item at rest. The default is 10.
attachEdge – Which edge should be "attached" (i.e. be the base of the image). The
default is "center".
top – The top edge of the widget is fixed.
bottom – The bottom edge of the widget is fixed.
left – The left edge of the widget is fixed.
right – The right edge of the widget is fixed.
center – The center of the icon is fixed.
labelEdge – Where should the label of the item be shown. The default is "center".
top – Above the image.
bottom – Below the image.
left – Left of the image.
right – Right of the image.
conservativeTrigger – Should the icon scale as the mouse moves towards the icons
or only when the mouse is over an icon. A value of "true" means only when over an icon.
Each item within the dojox/widget/FisheyeList should be an instance of
dojox/widget/FisheyeListItem. This widget describes the nature of the item to be
shown. Some of its more important properties include:
iconSrc – The URL for the image to be displayed.
label – The label to be shown when the icon is over the image.
on – The Dojo on event handler used to detect when the item is selected.
Programatically, FisheyeListItems are added to the FisheyeList via its addChild() method.
Experience seems to show that before adding the FisheyeListItem to the FisheyeList, a property on
it called "parent" needs to be set to the FisheyeList widget that contains it. This appears to be
necessary when programatically creating the FisheyeList but not when using the HTML declaration
format.
Additional CSS is required for the FisheyeList to function. This CSS can be found within the Dojo
distribution at:
<Root>/dojox/widget/FisheyeList/FisheyeList.css
If one wishes the FishEyeList to be centered, consider adding the style:
.dojoxFisheyeListBar {
Page 165
Vista de página 164
1 2 ... 160 161 162 163 164 165 166 167 168 169 170 ... 297 298

Comentários a estes Manuais

Sem comentários