apexgantt 3.14.0 → 3.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -1
- package/apexgantt.d.ts +954 -28
- package/apexgantt.es.min.js +1 -1
- package/apexgantt.min.js +1 -1
- package/demo/draw-task.html +19 -1
- package/demo/gantt-with-annotations.html +3 -19
- package/demo/gantt-with-interactions.html +10 -4
- package/demo/scroll-to-task.html +9 -7
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -118,7 +118,8 @@ The layout can be configured by passing a second argument to `ApexGantt` with th
|
|
|
118
118
|
| `enableTaskEdit` | `boolean` | `false` | Show the inline task-edit form when a task row is clicked. |
|
|
119
119
|
| `enableTaskResize` | `boolean` | `true` | Allow task bars to be resized by dragging their handles. |
|
|
120
120
|
| `enableDrawTask` | `boolean` | `false` | Allow creating a task by dragging across an empty stretch of the timeline: press on an empty row, drag horizontally to sweep out the date range, and release to add a task with those (snapped) start/end dates. Press `Escape` mid-drag to cancel. Off by default so existing empty-area drags stay inert. Respects `beforeTaskAdd` and is recorded in undo history. See [Drawing tasks on the timeline](#drawing-tasks-on-the-timeline). |
|
|
121
|
-
| `enableScrollButtons` | `boolean` | `
|
|
121
|
+
| `enableScrollButtons` | `boolean` | `false` | Show a small chevron at the edge of a task's row when that task's bar is scrolled out of the visible timeline window; clicking it scrolls the bar back into view (nearest-edge). Also available programmatically via `gantt.scrollToTask()`. |
|
|
122
|
+
| `scrollToTaskOnRowClick` | `boolean` | `false` | Clicking a task-list row scrolls that task's bar into view (nearest-edge, horizontal and vertical), the same as calling `gantt.scrollToTask()`. Composes with `enableSelection` (a single click both selects the row and reveals its bar). Clicks on the checkbox, the toggle chevron, or an active inline-edit input are ignored. |
|
|
122
123
|
| `enableProgressDrag` | `boolean` | `true` | Allow editing task progress by dragging the small handle that appears at the bottom of the bar on hover. Snaps to whole percent on commit and emits a `taskProgressChanged` event. |
|
|
123
124
|
| `enableTaskEditingShortcuts` | `boolean` | `false` | Enable keyboard shortcuts on the task-list panel: `Delete` / `Backspace` removes the focused task (cascade: children), `Tab` indents under the previous sibling, `Shift+Tab` outdents to the grandparent. Off by default; opt in once you've decided the shortcuts fit your app. All operations are recorded in the undo history and respect `beforeTaskDelete` / `beforeTaskMove` hooks. |
|
|
124
125
|
| `enableTaskCRUDToolbar` | `boolean` | `false` | Show built-in `+ Add task` and trash-icon `Delete` buttons in the toolbar. Delete is auto-disabled when nothing is selected and deletes every selected task (cascade: children) on click; Add inserts a root-level "New task" using placeholder dates derived from the current project span. Combine with `enableSelection: true` for the delete button to be useful. |
|