Attributes
-
predecessor-task-id :any
-
The identifier for the predecessor task. This must reference a task in Gantt.
Example
Initialize the gantt dependency with the
predecessor-task-idattribute specified:<oj-gantt-dependency predecessor-task-id="[[$current.data.predecessor]]"></oj-gantt-dependency> -
(nullable) short-desc :string
-
The description of the dependency line. This is used for accessibility.
- Default Value:
null
Example
Initialize the gantt dependency with the
short-descattribute specified:<oj-gantt-dependency short-desc="[[$current.data.shortDesc]]"></oj-gantt-dependency> -
successor-task-id :any
-
The identifier for the successor task. This must reference a task in Gantt.
Example
Initialize the gantt dependency with the
successor-task-idattribute specified:<oj-gantt-dependency successor-task-id="[[$current.data.successor]]"></oj-gantt-dependency> -
svg-class-name :string
-
A space delimited list of CSS style classes to apply to the dependency line.
- Default Value:
""
Example
Initialize the gantt dependency with the
svg-class-nameattribute specified:<oj-gantt-dependency svg-class-name="dependencyStyle"></oj-gantt-dependency> -
svg-style :Object
-
The CSS style defining the style of the dependency line.
- Default Value:
{}
Example
Initialize the gantt dependency with the
svg-styleattribute specified:<oj-gantt-dependency svg-style='{"stroke": "red"}'></oj-gantt-dependency> -
type :string
-
The type of dependency.
- Default Value:
"finishStart"
Supported Values:
Name Type Description "finishFinish"string predecessor task must finish before successor task can finish "finishStart"string predecessor task must finish before successor task can start "startFinish"string predecessor task must start before successor task can finish "startStart"string predecessor task must start before successor task can start Example
Initialize the gantt dependency with the
typeattribute specified:<oj-gantt-dependency type="[[$current.data.type]]"></oj-gantt-dependency>