Sépale
Components Docs Theme generator Prefix About GitHub npm
  • Family
  • Family
  • Theme

  • Guide
  • Getting started
  • Families and themes
  • Components and classes
  • Svelte components
  • Motion
  • Your own styles
  • Class prefix
  • Family
  • Description
  • Theme generator
  • Components
  • All components
    • Button
    • Link
    • Join
    • Input
    • Textarea
    • Select
    • Combobox
    • Number input
    • Date picker
    • Calendar
    • Color picker
    • File input
    • File dropzone
    • Checkbox
    • Radio
    • Toggle
    • Switch
    • Range
    • Rating
    • Chips input
    • Editable
    • Label
    • Floating label
    • Fieldset
    • Validator
    • Text
    • Avatar
    • Badge
    • Chip
    • Swatch
    • Bubble
    • Card
    • Stat
    • Carousel
    • Alert
    • Toast
    • Loading
    • Progress
    • Radial progress
    • Skeleton
    • Empty state
    • Data handler
    • Data control
    • Table
    • Grid
    • List
    • Kanban
    • File explorer
    • Menu
    • Tabs
    • Breadcrumbs
    • Steps
    • Pagination
    • Dock
    • Navbar
    • Sidebar
    • Drawer
    • Footer
    • Hero
    • Divider
    • Collapse
    • Accordion
    • Dialog
    • Dropdown
    • Tooltip
    • Mobile frame
    • Window frame
    • Laptop frame

Editable

A value shown as it is, that turns into its editor when asked: a click, Enter or F2. Enter keeps the edit (Ctrl + Enter in a multi-line field), Escape drops it, leaving the editor keeps it. The editor is a snippet, or the one `kind` names for a plain value. The component keeps no value: `onvalue` hands the new one to its owner.

ClassEffectType
.editable
A value shown as it is, that turns into its editor when asked: a click, Enter or F2. Enter keeps the edit (Ctrl + Enter in a multi-line field), Escape drops it, leaving the editor keeps it. The editor is a snippet, or the one `kind` names for a plain value. The component keeps no value: `onvalue` hands the new one to its owner. root
.editable-xs.editable-sm.editable-md.editable-lg.editable-xl
Sets size, one class per value. axis size
.editable-display
The value at rest: a button that opens the editor — or plain text when `openOn` is empty. part
.editable-empty
The placeholder of an empty value. part
.editable-form
The frame around the editor. part
.editable-list
The row of checkboxes of a boolean list. part