InputCopyView.id
property · packages/mixins-ui/src/inputCopy.ts:36
readonly id: stringPrefixes every id the field draws, unique on the page.
Mixins / foldkit-mixins-ui
interface · packages/mixins-ui/src/inputCopy.ts:34
interface InputCopyView<Message> {
readonly id: string
readonly label: string
readonly value: string
readonly copied: boolean
readonly onCopy: NoInfer<Message>
readonly copyLabel?: string | undefined
readonly copiedLabel?: string | undefined
readonly style?: NamedStyle<typeof InputCopySlots> | undefined
readonly mixins?: MixinList<Message> | undefined
}InputCopyView.idproperty · packages/mixins-ui/src/inputCopy.ts:36
readonly id: stringPrefixes every id the field draws, unique on the page.
InputCopyView.labelproperty · packages/mixins-ui/src/inputCopy.ts:37
readonly label: stringInputCopyView.valueproperty · packages/mixins-ui/src/inputCopy.ts:38
readonly value: stringInputCopyView.copiedproperty · packages/mixins-ui/src/inputCopy.ts:40
readonly copied: booleanWhether the value was just copied, the application's to set and clear.
InputCopyView.onCopyproperty · packages/mixins-ui/src/inputCopy.ts:42
readonly onCopy: NoInfer<Message>Sent by the button; answer it with Copy.
InputCopyView.copyLabelproperty · packages/mixins-ui/src/inputCopy.ts:44
readonly copyLabel?: string | undefinedThe button's text; default Copy.
InputCopyView.copiedLabelproperty · packages/mixins-ui/src/inputCopy.ts:46
readonly copiedLabel?: string | undefinedThe button's text once copied, and what the status region says; default Copied.
InputCopyView.styleproperty · packages/mixins-ui/src/inputCopy.ts:48
readonly style?: NamedStyle<typeof InputCopySlots> | undefinedA style of InputCopySlots, for the field's look.
InputCopyView.mixinsproperty · packages/mixins-ui/src/inputCopy.ts:50
readonly mixins?: MixinList<Message> | undefinedMixins beside the style.