TimelineKit API
    Preparing search index...

    Class ResourceSchedulerEngine

    The Resource Scheduler component engine. Manages resources, events, rendering, and user interaction.

    Hierarchy

    • BaseTimelineEngine
      • ResourceSchedulerEngine
    Index

    Constructors

    Accessors

    • get autoZoomToFit(): boolean

      Automatically zoom to fit all data when project timeline is set. Default: true.

      Returns boolean

    • set autoZoomToFit(value: boolean): void

      Parameters

      • value: boolean

      Returns void

    • get canEdit(): boolean

      Whether editing is enabled. When false, all mutations are disabled.

      Returns boolean

    • set canEdit(value: boolean): void

      Parameters

      • value: boolean

      Returns void

    • get canRedo$(): BehaviorSubject<boolean>

      Whether redo is available (observable).

      Returns BehaviorSubject<boolean>

    • get canUndo$(): BehaviorSubject<boolean>

      Whether undo is available (observable).

      Returns BehaviorSubject<boolean>

    • get showGridLines(): boolean

      Show or hide grid lines on the chart.

      Returns boolean

    • set showGridLines(value: boolean): void

      Parameters

      • value: boolean

      Returns void

    • get showTodayLine(): boolean

      Show or hide the today indicator line.

      Returns boolean

    • set showTodayLine(value: boolean): void

      Parameters

      • value: boolean

      Returns void

    Methods

    • Remove all timeline markers.

      Returns void

    • Destroy the component and release all DOM resources.

      Returns void

    • Scroll the timeline to the project start date.

      Returns void

    • Load state from a JSON string. Automatically zooms to fit if data is present and autoZoomToFit is enabled.

      Parameters

      • text: string

      Returns void

    • Redo the last undone action.

      Returns void

    • Scroll the timeline to a specific date.

      Parameters

      • date: Date

      Returns void

    • Zoom in one level. Returns false if already at maximum zoom.

      Returns boolean

    • Zoom out one level. Returns false if already at minimum zoom.

      Returns boolean