SiIp4InputDirective documentation¶
import { SiIp4InputDirective } from '@siemens/element-ng/ip-input'; Directive for IPv4 address input fields.
Usage:
import { SiFormItemComponent } from '@siemens/element-ng/form';
import { SiIp4InputDirective } from '@siemens/element-ng/ip-input';
@Component({
template: `
<si-form-item label="IPv4 address">
<input type="text" class="form-control" siIpV4 />
</si-form-item>
`,
imports: [SiFormItemComponent, SiIp4InputDirective, ...]
})
Input Properties¶
| Name | Type | Default | Description |
|---|---|---|---|
| cidr inherited ¶ | boolean | false | Enable CIDR (Classless Inter-Domain Routing) notation. Inherited from |
| disabled inherited ¶ | boolean | false | Whether the ip address input is disabled. Inherited from |
| id inherited ¶ | string | `si-ip-input-${SiIpInputDirective.idCounter++}` | Inherited from |
Attributes and Methods¶
| Name | Type | Description |
|---|---|---|
| registerOnChange() inherited ¶ | Inherited from Implements ControlValueAccessor | |
| registerOnTouched() inherited ¶ | Inherited from Implements ControlValueAccessor | |
| setDisabledState() inherited ¶ | Inherited from Implements ControlValueAccessor Parameters
| |
| writeValue() inherited ¶ | Inherited from Implements ControlValueAccessor |
Except where otherwise noted, content on this site is licensed under MIT License.