Skip to content
This repository was archived by the owner on Nov 22, 2021. It is now read-only.

Commit de4fe10

Browse files
committed
doc(tagsInput): Fix module name and allowedTagsPattern default value [skip ci]
1 parent 8d747e1 commit de4fe10

5 files changed

Lines changed: 13 additions & 8 deletions

File tree

src/auto-complete.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22

33
/**
44
* @ngdoc directive
5-
* @name tagsInput.directive:autoComplete
5+
* @name autoComplete
6+
* @module ngTagsInput
67
*
78
* @description
89
* Provides autocomplete support for the tagsInput directive.

src/autosize.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22

33
/**
44
* @ngdoc directive
5-
* @name tagsInput.directive:tiAutosize
5+
* @name tiAutosize
6+
* @module ngTagsInput
67
*
78
* @description
89
* Automatically sets the input's width so its content is always visible. Used internally by tagsInput directive.

src/configuration.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22

33
/**
44
* @ngdoc service
5-
* @name tagsInput.service:tagsInputConfig
5+
* @name tagsInputConfig
6+
* @module ngTagsInput
67
*
78
* @description
89
* Sets global configuration settings for both tagsInput and autoComplete directives. It's also used internally to parse and
@@ -15,7 +16,7 @@ tagsInput.provider('tagsInputConfig', function() {
1516
* @ngdoc method
1617
* @name setDefaults
1718
* @description Sets the default configuration option for a directive.
18-
* @methodOf tagsInput.service:tagsInputConfig
19+
* @methodOf tagsInputConfig
1920
*
2021
* @param {string} directive Name of the directive to be configured. Must be either 'tagsInput' or 'autoComplete'.
2122
* @param {object} defaults Object containing options and their values.
@@ -31,7 +32,7 @@ tagsInput.provider('tagsInputConfig', function() {
3132
* @ngdoc method
3233
* @name setActiveInterpolation
3334
* @description Sets active interpolation for a set of options.
34-
* @methodOf tagsInput.service:tagsInputConfig
35+
* @methodOf tagsInputConfig
3536
*
3637
* @param {string} directive Name of the directive to be configured. Must be either 'tagsInput' or 'autoComplete'.
3738
* @param {object} options Object containing which options should have interpolation turned on at all times.

src/tags-input.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22

33
/**
44
* @ngdoc directive
5-
* @name tagsInput.directive:tagsInput
5+
* @name tagsInput
6+
* @module ngTagsInput
67
*
78
* @description
89
* Renders an input box with tag editing support.
@@ -23,7 +24,7 @@
2324
* @param {boolean=} [addOnComma=true] Flag indicating that a new tag will be added on pressing the COMMA key.
2425
* @param {boolean=} [addOnBlur=true] Flag indicating that a new tag will be added when the input field loses focus.
2526
* @param {boolean=} [replaceSpacesWithDashes=true] Flag indicating that spaces will be replaced with dashes.
26-
* @param {string=} [allowedTagsPattern=^[a-zA-Z0-9\s]+$] Regular expression that determines whether a new tag is valid.
27+
* @param {string=} [allowedTagsPattern=.+] Regular expression that determines whether a new tag is valid.
2728
* @param {boolean=} [enableEditingLastTag=false] Flag indicating that the last tag will be moved back into
2829
* the new tag input box instead of being removed when the backspace key
2930
* is pressed and the input box is empty.

src/transclude-append.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22

33
/**
44
* @ngdoc directive
5-
* @name tagsInput.directive:tiTranscludeAppend
5+
* @name tiTranscludeAppend
6+
* @module ngTagsInput
67
*
78
* @description
89
* Re-creates the old behavior of ng-transclude. Used internally by tagsInput directive.

0 commit comments

Comments
 (0)