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

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 298
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 238
moveTo – The name of a view that will be shown if this icon is selected.
See also:
dojox/mobile/IconMenu
dojox/mobile/ListItem
The list item is an instance of an entry in a list. It is a child of a variety of list widgets.
In the following we see three ListItems added to an EdgeToEdgeList. The first item has a
"moveTo" defined as indicated by the arrow on the right. Selecting that item will change the view.
It contains the following visual items:
icon
label – The primary label of the list item.
rightText – Text to show on the "right" of the list item.
Here we see some text on the right:
rightIcon2
rightIcon
Some of the key properties of this widget are:
moveTo – The name of the view that will be shown when the item is clicked.
clickable – A boolean which, if set to true, will enable clicks upon the list entry.
There are also events defined on this Widget:
onClick() - Called when the list item is clicked and the entry is "clickable" or has a
view transition associated with it.
See also:
Working with Dojo Mobile Lists
dojox/mobile/RoundRectList
dojox/mobile/RoundRectStoreList
dojox/mobile/EdgeToEdgeList
Page 239
Vista de página 238
1 2 ... 234 235 236 237 238 239 240 241 242 243 244 ... 297 298

Comentários a estes Manuais

Sem comentários