Skip to content

RangeSelectFilesizeComponent

component

Component for selecting a range of filesizes based on pre-defined ranges like ‘today’, ‘this week’, ‘this month’, etc.

Selector: yuv-range-select-filesize

Standalone: Yes

Implements: ControlValueAccessor, OnDestroy

Type: FilesizeRange[]

Default Value: ['small', 'medium', 'large', 'verylarge']

Range values to be used in the dropdown.

Type: BooleanInput

Type: string

Type: BooleanInput

Type: unknown

Default Value: new FormControl<string>(this.#ANY_OPTION, \{ nonNullable: true \})

Type: unknown

Default Value: injectNgControl(this)

Type: unknown

Default Value: signal<\{ label: string; value: unknown \}[]>([])

Type: unknown

Default Value: () => \{...\}

Type: boolean

Type: string

Type: boolean

Type: unknown

Default Value: new Subject<void>()

Type: string

registerOnChange(fn: function): void
NameTypeDescription
fnfunction
registerOnTouched(fn: function): void
NameTypeDescription
fnfunction
writeValue(value?: RangeSelectFilesizeValue): void
NameTypeDescription
valueRangeSelectFilesizeValue
onContainerClick(event: MouseEvent): void
NameTypeDescription
eventMouseEvent
onFocusIn(): void
onFocusout(): void
onNgOnDestroy(): void
setDescribedByIds(ids: string[]): void
NameTypeDescription
idsstring[]