@@ -7,10 +7,8 @@ import { IDragMoveEventArgs, IDragStartEventArgs, DragDirection } from '../../di
7
7
export const SPLITTER_INTERACTION_KEYS = new Set ( 'right down left up arrowright arrowdown arrowleft arrowup' . split ( ' ' ) ) ;
8
8
9
9
/**
10
- * Provides reference to `SplitBarComponent` component.
11
- * Represents the draggable gripper that visually separates panes and allows for changing their sizes.
12
- * @export
13
- * @class SplitBarComponent
10
+ * @hidden @internal
11
+ * Represents the draggable bar that visually separates panes and allows for changing their sizes.
14
12
*/
15
13
@Component ( {
16
14
selector : 'igx-splitter-bar' ,
@@ -66,27 +64,18 @@ export class IgxSplitBarComponent {
66
64
67
65
/**
68
66
* An event that is emitted whenever we start dragging the current `SplitBarComponent`.
69
- * @memberof SplitBarComponent
70
67
*/
71
68
@Output ( )
72
69
public moveStart = new EventEmitter < IgxSplitterPaneComponent > ( ) ;
73
70
74
71
/**
75
72
* An event that is emitted while we are dragging the current `SplitBarComponent`.
76
- * @memberof SplitBarComponent
77
73
*/
78
74
@Output ( )
79
75
public moving = new EventEmitter < number > ( ) ;
80
76
81
- /**
82
- * An event that is emitted when collapsing the pane
83
- */
84
- @Output ( )
85
- public togglePane = new EventEmitter < IgxSplitterPaneComponent > ( ) ;
86
77
/**
87
78
* A temporary holder for the pointer coordinates.
88
- * @private
89
- * @memberof SplitBarComponent
90
79
*/
91
80
private startPoint ! : number ;
92
81
@@ -184,6 +173,9 @@ export class IgxSplitBarComponent {
184
173
return this . siblings [ 1 ] . collapsed && ! this . siblings [ 0 ] . collapsed ;
185
174
}
186
175
176
+ /**
177
+ * @hidden @internal
178
+ */
187
179
public onDragStart ( event : IDragStartEventArgs ) {
188
180
if ( this . resizeDisallowed ) {
189
181
event . cancel = true ;
@@ -193,6 +185,9 @@ export class IgxSplitBarComponent {
193
185
this . moveStart . emit ( this . pane ) ;
194
186
}
195
187
188
+ /**
189
+ * @hidden @internal
190
+ */
196
191
public onDragMove ( event : IDragMoveEventArgs ) {
197
192
const isHorizontal = this . type === SplitterType . Horizontal ;
198
193
const curr = isHorizontal ? event . pageX : event . pageY ;
@@ -209,6 +204,9 @@ export class IgxSplitBarComponent {
209
204
return ! ! relatedTabs . find ( x => x . resizable === false ) ;
210
205
}
211
206
207
+ /**
208
+ * @hidden @internal
209
+ */
212
210
public onCollapsing ( next : boolean ) {
213
211
const prevSibling = this . siblings [ 0 ] ;
214
212
const nextSibling = this . siblings [ 1 ] ;
0 commit comments