tagsInputConfig (directive in module ngTagsInput)
Sets global configuration settings for both tagsInput and autoComplete directives. It's also used internally to parse and initialize options from HTML attributes.
Sets the default configuration option for a directive.
Name | Type | Description |
---|---|---|
directive | string | Name of the directive to be configured. Must be either 'tagsInput' or 'autoComplete'. |
defaults | object | Object containing options and their values. |
The service itself for chaining purposes.
Sets active interpolation for a set of options.
Name | Type | Description |
---|---|---|
directive | string | Name of the directive to be configured. Must be either 'tagsInput' or 'autoComplete'. |
options | object | Object containing which options should have interpolation turned on at all times. |
The service itself for chaining purposes.
Sets the threshold used by the tagsInput directive to re-size the inner input field element based on its contents.
Name | Type | Description |
---|---|---|
threshold | number | Threshold value, in pixels. |
The service itself for chaining purposes.