Skip to content
Edit this page

SiSearchBarInputDirective documentation

import { SiSearchBarInputDirective } from '@siemens/element-ng/search-bar';

Input used by SiSearchBarComponent instead of its default input.

Input Properties

Name Type Default Description
disabled
boolean false
readonly
boolean false

Attributes and Methods

Name Type Description
onChange inherited
(_: any) => void

The registered callback function called when a change or input event occurs on the input element.

@docs-private

Inherited from BaseControlValueAccessor

onReset()
() => void
onTouched inherited
() => void

The registered callback function called when a blur event occurs on the input element.

@docs-private

Inherited from BaseControlValueAccessor

registerOnChange() inherited
(fn: (_: any) => {}) => void

Registers a function called when the control value changes.

@docs-private

Inherited from BaseControlValueAccessor

Implements ControlValueAccessor

Parameters
  • The callback function to register

    fn : (_: any) => {}

registerOnTouched() inherited
(fn: () => void) => void

Registers a function called when the control is touched.

@docs-private

Inherited from BaseControlValueAccessor

Implements ControlValueAccessor

Parameters
  • The callback function to register

    fn : () => void


Except where otherwise noted, content on this site is licensed under MIT License.