|
66 | 66 | * `always` | stretched | stretched
|
67 | 67 | * `never` | --- | ---
|
68 | 68 | *
|
69 |
| - * @param {integer=} md-selected Index of the active/selected tab. |
70 |
| - * @param {boolean=} md-no-ink-bar If present, disables the selection ink bar. |
71 |
| - * @param {string=} md-align-tabs Attribute to indicate position of tab buttons: `bottom` or `top`; |
| 69 | + * @param {number=} md-selected Index of the active/selected tab. |
| 70 | + * @param {expression=} md-no-ink-bar If `true` or no value, disables the selection ink bar. |
| 71 | + * @param {string=} md-align-tabs Attribute to indicate position of tab buttons: `bottom` or `top`; |
72 | 72 | * Default is `top`.
|
73 | 73 | * @param {string=} md-stretch-tabs Attribute to indicate whether or not to stretch tabs: `auto`,
|
74 | 74 | * `always`, or `never`; Default is `auto`.
|
75 |
| - * @param {boolean=} md-dynamic-height When enabled, the tab wrapper will resize based on the |
76 |
| - * contents of the selected tab. |
77 |
| - * @param {boolean=} md-border-bottom If present, shows a solid `1px` border between the tabs and |
78 |
| - * their content. |
79 |
| - * @param {boolean=} md-center-tabs If defined, tabs will be centered provided there is no need |
80 |
| - * for pagination. |
81 |
| - * @param {boolean=} md-no-pagination When enabled, pagination will remain off. |
82 |
| - * @param {boolean=} md-swipe-content When enabled, swipe gestures will be enabled for the content |
| 75 | + * @param {expression=} md-dynamic-height If `true` or no value, the tab wrapper will resize based |
| 76 | + * on the contents of the selected tab. |
| 77 | + * @param {boolean=} md-border-bottom If the attribute is present, shows a solid `1px` border |
| 78 | + * between the tabs and their content. |
| 79 | + * @param {boolean=} md-center-tabs If the attribute is present, tabs will be centered provided |
| 80 | + * there is no need for pagination. |
| 81 | + * @param {boolean=} md-no-pagination If the attribute is present, pagination will remain off. |
| 82 | + * @param {expression=} md-swipe-content When enabled, swipe gestures will be enabled for the content |
83 | 83 | * area to allow swiping between tabs.
|
84 | 84 | * @param {boolean=} md-enable-disconnect When enabled, scopes will be disconnected for tabs that
|
85 | 85 | * are not being displayed. This provides a performance boost, but may also cause unexpected
|
86 | 86 | * issues. It is not recommended for most users.
|
87 |
| - * @param {boolean=} md-autoselect When present, any tabs added after the initial load will be |
88 |
| - * automatically selected. |
| 87 | + * @param {boolean=} md-no-disconnect **Deprecated**: If your tab content has background tasks |
| 88 | + * (ie. event listeners), you will want to include this to prevent the scope from being |
| 89 | + * disconnected. |
| 90 | + * @param {boolean=} md-autoselect If the attribute is present, any tabs added after the initial |
| 91 | + * load will be automatically selected. |
89 | 92 | * @param {boolean=} md-no-select-click When true, click events will not be fired when the value of
|
90 | 93 | * `md-active` on an `md-tab` changes. This is useful when using tabs with UI-Router's child
|
91 | 94 | * states, as triggering a click event in that case can cause an extra tab change to occur.
|
|
0 commit comments