InputCopyView.id
property · packages/mixins-ui/src/inputCopy.ts:128
readonly id: stringPrefixes every id the field draws, unique on the page.
Mixins / foldkit-mixins-ui
interface · packages/mixins-ui/src/inputCopy.ts:126
interface InputCopyView<Message> extends Adornments {
readonly id: string
readonly label: string
readonly value: string
readonly copied: boolean
readonly failed?: boolean | undefined
readonly onCopy: NoInfer<Message>
readonly words?: Partial<InputCopyWords> | undefined
readonly copyContent?: Html | undefined
readonly style?: NamedStyle<typeof InputCopySlots> | undefined
readonly mixins?: MixinList<Message> | undefined
}InputCopyView.idproperty · packages/mixins-ui/src/inputCopy.ts:128
readonly id: stringPrefixes every id the field draws, unique on the page.
InputCopyView.labelproperty · packages/mixins-ui/src/inputCopy.ts:129
readonly label: stringInputCopyView.valueproperty · packages/mixins-ui/src/inputCopy.ts:130
readonly value: stringInputCopyView.copiedproperty · packages/mixins-ui/src/inputCopy.ts:132
readonly copied: booleanWhether the value was just copied, the application's to set and clear.
InputCopyView.failedproperty · packages/mixins-ui/src/inputCopy.ts:134
readonly failed?: boolean | undefinedWhether the clipboard refused the copy: the status region says so, and the button stays Copy to try again.
InputCopyView.onCopyproperty · packages/mixins-ui/src/inputCopy.ts:136
readonly onCopy: NoInfer<Message>Sent by the button; answer it with Copy.
InputCopyView.wordsproperty · packages/mixins-ui/src/inputCopy.ts:137
readonly words?: Partial<InputCopyWords> | undefinedInputCopyView.copyContentproperty · packages/mixins-ui/src/inputCopy.ts:142
readonly copyContent?: Html | undefinedDrawn in the button in place of its words, an icon say. The words stay in it for a screen reader, and the status region still speaks them.
InputCopyView.styleproperty · packages/mixins-ui/src/inputCopy.ts:144
readonly style?: NamedStyle<typeof InputCopySlots> | undefinedA style of InputCopySlots, for the field's look.
InputCopyView.mixinsproperty · packages/mixins-ui/src/inputCopy.ts:146
readonly mixins?: MixinList<Message> | undefinedMixins beside the style.