Wml-do-tag
提供:Dev Guides
WML <do>タグ
<do>タグは、ユーザーが画面上の単語/フレーズをクリックしたときにタスクをアクティブ化するために使用できます。
属性:
この要素は、次の属性をサポートしています。
Attribute | Value | Description |
---|---|---|
name | text | Sets a name for the <do> element. |
label | string | Sets a label for the <do> element. |
type |
|
Defines the type of the <do> element |
value | number | Specifies the timer after which timer will be expired. Timeouts are specified in units of a tenth of a second. |
class | class_data | Sets a class name for the element. |
id | element ID | A unique ID for the element. |
例:
以下は、<go>要素とともに<do>要素の使用方法を示す例です。
これにより、次のメニューが生成され、すべての章をナビゲートできるようになります。