Content · Components
ContentTitleField
No summary has been written for ContentTitleField. Everything below is generated from the declaration shipped in 0.57.40 and describes the real contract.Public export
typescript
import { ContentTitleField } from '@happyvertical/smrt-content/svelte';- Import path
@happyvertical/smrt-content/svelte- Props
- 10
- Props described
- 10 of 10
- Bindable state
- 0
- Callback events
- 1
- Verified release
- 0.57.40
Props
NameTypeRequiredDescription
valuestringNoCurrent title text value.placeholderstringNoPlaceholder text shown when the field is empty.requiredbooleanNoWhether the title field must be filled before submission.labelstringNoAccessible name of the field.namestringNoForm field name; also its identity for agent-operable forms.idstringNoElement id.invalidbooleanNoMarks the field invalid (e.g. an empty required title).describedBystringNoId(s) of the element(s) describing the field, e.g. its error message.disabledbooleanNoWhether the field is disabled.onChange(value: string) => voidNoInvoked when the user modifies the title text.Bindable state
This component has no bindable public state.
Callback events
onChange(value: string) => void