Skip to content

SiIp6InputDirective documentation

import { SiIp6InputDirective } from '@siemens/element-ng/ip-input';

Directive for IPv6 address input fields.

Usage:

import { SiFormItemComponent } from '@siemens/element-ng/form';
import { SiIp6InputDirective } from '@siemens/element-ng/ip-input';

@Component({
  template: `
    <si-form-item label="IPv6 address">
      <input type="text" class="form-control" siIpV6 />
    </si-form-item>
  `,
  imports: [SiFormItemComponent, SiIp6InputDirective, ...]
})

Input Properties

NameTypeDefaultDescription
cidrinherited
boolean false

Enable CIDR (Classless Inter-Domain Routing) notation.

Inherited from SiIpInputDirective

disabledinherited
boolean false

Whether the ip address input is disabled.

Inherited from SiIpInputDirective

idinherited
string `si-ip-input-${SiIpInputDirective.idCounter++}`

Inherited from SiIpInputDirective

Attributes and Methods

NameTypeDescription
registerOnChange()inherited
(fn: any) => void

Inherited from SiIpInputDirective

Implements ControlValueAccessor

Parameters
  • The callback function to register

    fn: any

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

Inherited from SiIpInputDirective

Implements ControlValueAccessor

Parameters
  • The callback function to register

    fn: () => void

setDisabledState()inherited
(isDisabled: boolean) => void

Inherited from SiIpInputDirective

Implements ControlValueAccessor

Parameters
writeValue()inherited
(value?: string | null) => void

Inherited from SiIpInputDirective

Implements ControlValueAccessor

Parameters

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