Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Sortable

Hierarchy

  • Sortable

Implements

Index

Constructors

constructor

Properties

Private _options

Optional helper

helper: JQuery

initialContainer

initialContainer: JQuery

Private Optional initialEvent

initialEvent: JQueryEventObject

Optional item

item: JQuery

Private items

items: ISortableItem[]

Optional placeholder

placeholder: JQuery

Optional targetContainer

targetContainer: JQuery

Methods

Private _createEvent

Private _getMousePosition

  • _getMousePosition(event: JQueryEventObject): object
  • Parameters

    • event: JQueryEventObject

    Returns object

    • x: any
    • y: any

Private _onMouseDown

  • _onMouseDown(event: JQueryEventObject): void
  • Parameters

    • event: JQueryEventObject

    Returns void

Private _onMouseLeave

  • _onMouseLeave(event: JQueryEventObject): void
  • Parameters

    • event: JQueryEventObject

    Returns void

Private _onMouseMove

  • _onMouseMove(event: JQueryEventObject): void
  • Parameters

    • event: JQueryEventObject

    Returns void

Private _onMouseUp

  • _onMouseUp(event: JQueryEventObject): void
  • Parameters

    • event: JQueryEventObject

    Returns void

Private _refreshItemPositions

  • _refreshItemPositions(): void
  • Returns void

Private _updateHelperPosition

  • _updateHelperPosition(x: number, y: number): void
  • Parameters

    • x: number
    • y: number

    Returns void

cancel

  • cancel(): void
  • Returns void

refreshItems

  • refreshItems(): void
  • Returns void

runAction

  • runAction(action: string): JQuery | boolean | undefined
  • Parameters

    • action: string

    Returns JQuery | boolean | undefined

start

  • start(event: JQueryEventObject): void
  • Parameters

    • event: JQueryEventObject

    Returns void

stop

  • stop(): void
  • Returns void

Generated using TypeDoc