Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CornerHandle

Corner handle that resizes the slate

Hierarchy

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

Properties

nodeSearch playground for node

Node of this handle

Accessors

drag

  • set drag(value: boolean): any
  • Sets drag state

    Parameters

    • value: boolean

    Returns any

gizmo

  • Returns the gizmo carrying this handle

    Returns SlateGizmo

hover

  • set hover(value: boolean): any
  • Sets hover state

    Parameters

    • value: boolean

    Returns any

state

Methods

createNodeSearch playground for createNode

disposeSearch playground for dispose

  • dispose(): void
  • Disposes the handle

    Returns void

setDragBehaviorSearch playground for setDragBehavior

  • setDragBehavior(dragStartFn: (event: { position: Vector3 }) => void, dragFn: (event: { position: Vector3 }) => void, dragEndFn: () => void): void
  • Binds callbacks from dragging interaction

    Parameters

    • dragStartFn: (event: { position: Vector3 }) => void

      Function to call on drag start

        • (event: { position: Vector3 }): void
        • Parameters

          Returns void

    • dragFn: (event: { position: Vector3 }) => void

      Function to call on drag

        • (event: { position: Vector3 }): void
        • Parameters

          Returns void

    • dragEndFn: () => void

      Function to call on drag end

        • (): void
        • Returns void

    Returns void

Legend

  • Constructor
  • Property
  • Method
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Property
  • Method
  • Static property
  • Static method