Places the provided contents into the system clipboard when triggered
review {
fields {
field {
label = "Cardholder name"
value = "Emmett Brown"
callToAction {
title = "Copy"
behavior = CopyBehavior.build {
content = "Emmett Brown"
}
}
}
field {
label = "Card number"
value = "0118 0135 2610 1985"
callToAction {
title = "Copy"
behavior = CopyBehavior.build {
content = "0118 0135 2610 1985"
}
}
}
field {
label = "Expiry date"
value = "10/85"
callToAction {
title = "Copy"
behavior = CopyBehavior.build {
content = "10/85"
}
}
}
field {
label = "Security code"
value = "088"
callToAction {
title = "Copy"
behavior = CopyBehavior.build {
content = "088"
}
}
}
field {
label = "Billing address"
value = "1646 Riverside Drive, Hill Valley, CA 95420, United States"
}
}
}| Property | Type | Required | Description |
|---|---|---|---|
content | String | Yes | The content to be copied to the clipboard. |
type | String | Yes | It must be copy. |