File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed
projects/igniteui-angular/src/lib/buttonGroup Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -118,6 +118,27 @@ export class IgxButtonGroupComponent extends DisplayDensityBase implements After
118118 return this . _itemContentCssClass ;
119119 }
120120
121+ /**
122+ * @deprecated in version 16.1.0. Set/Use selectionMode property instead.
123+ *
124+ * Enables selecting multiple buttons. By default, multi-selection is false.
125+ */
126+ @Input ( )
127+ public get multiSelection ( ) {
128+ if ( this . selectionMode === 'multi' ) {
129+ return true ;
130+ } else {
131+ return false ;
132+ }
133+ }
134+ public set multiSelection ( selectionMode : boolean ) {
135+ if ( selectionMode ) {
136+ this . selectionMode = 'multi' ;
137+ } else {
138+ this . selectionMode = 'single' ;
139+ }
140+ }
141+
121142 /**
122143 * An @Input property that sets the selection mode of the buttons. By default, the selection mode is single.
123144 * ```html
You can’t perform that action at this time.
0 commit comments