Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "fields/number-field"

new GUI()
  .add({ value: 1 }) // Auto detect
  .add({ field: 'number' }) // Specify field name
  .add({ field: new NumberField() }) // Provide field instance

Preview


preview

Index

Variables

Const thumbActiveStyles

thumbActiveStyles: CSSResult = css`background-color: var(--tint);`

Const thumbStyles

thumbStyles: CSSResult = css`appearance: none;background-color: var(--secondary-foreground);width: 10px;height: 10px;border-radius: 10px;transition: .15s;transform: translateY(calc(1px - 50%));`

Const trackStyles

trackStyles: CSSResult = css`background-color: var(--primary-background);height: 2px;border-radius: 2px;`

Generated using TypeDoc