@@ -233,64 +233,6 @@ export class CdkDropList<T = any> implements OnDestroy {
233233 this . _destroyed . complete ( ) ;
234234 }
235235
236- /**
237- * Starts dragging an item.
238- * @deprecated No longer being used. To be removed.
239- * @breaking -change 10.0.0
240- */
241- start ( ) : void {
242- this . _dropListRef . start ( ) ;
243- }
244-
245- /**
246- * Drops an item into this container.
247- * @param item Item being dropped into the container.
248- * @param currentIndex Index at which the item should be inserted.
249- * @param previousContainer Container from which the item got dragged in.
250- * @param isPointerOverContainer Whether the user's pointer was over the
251- * container when the item was dropped.
252- *
253- * @deprecated No longer being used. To be removed.
254- * @breaking -change 10.0.0
255- */
256- drop ( item : CdkDrag , currentIndex : number , previousContainer : CdkDropList ,
257- isPointerOverContainer : boolean ) : void {
258- this . _dropListRef . drop ( item . _dragRef , currentIndex , previousContainer . _dropListRef ,
259- isPointerOverContainer , { x : 0 , y : 0 } ) ;
260- }
261-
262- /**
263- * Emits an event to indicate that the user moved an item into the container.
264- * @param item Item that was moved into the container.
265- * @param pointerX Position of the item along the X axis.
266- * @param pointerY Position of the item along the Y axis.
267- * @deprecated No longer being used. To be removed.
268- * @breaking -change 10.0.0
269- */
270- enter ( item : CdkDrag , pointerX : number , pointerY : number ) : void {
271- this . _dropListRef . enter ( item . _dragRef , pointerX , pointerY ) ;
272- }
273-
274- /**
275- * Removes an item from the container after it was dragged into another container by the user.
276- * @param item Item that was dragged out.
277- * @deprecated No longer being used. To be removed.
278- * @breaking -change 10.0.0
279- */
280- exit ( item : CdkDrag ) : void {
281- this . _dropListRef . exit ( item . _dragRef ) ;
282- }
283-
284- /**
285- * Figures out the index of an item in the container.
286- * @param item Item whose index should be determined.
287- * @deprecated No longer being used. To be removed.
288- * @breaking -change 10.0.0
289- */
290- getItemIndex ( item : CdkDrag ) : number {
291- return this . _dropListRef . getItemIndex ( item . _dragRef ) ;
292- }
293-
294236 /** Syncs the inputs of the CdkDropList with the options of the underlying DropListRef. */
295237 private _setupInputSyncSubscription ( ref : DropListRef < CdkDropList > ) {
296238 if ( this . _dir ) {
0 commit comments