Szerkesztés

Megosztás a következőn keresztül:


input (Toast XML Schema)

Specifies an input, either text box or selection menu, shown in a toast notification.

Element hierarchy

<toast>
<actions>
<input>

Syntax

<input id = string
    type = "text" | "selection" 
    placeHolderContent? = string 
    title? = string>
  <!-- Child elements -->
  selection{0,5}
</input>

Key

?   optional (zero or one) {}   specific range of occurrences

Attributes and Elements

Attributes

Attribute Description Data type Required Default value
id The ID associated with the input. string Yes None
type The type of input. string - This attribute can have one of the following values: "text", "selection" Yes None
placeHolderContent The placeholder displayed for text input. string No None
title Text displayed as a label for the input. string No None

Child Elements

Child Element Description
selection Specifies the id and text of a selection item.

Parent Elements

Parent Element Description
actions Container element for declaring up to five inputs and up to five button actions for the toast notification.

See also