Element: <oj-gantt-reference-object>

Oracle® JavaScript Extension Toolkit (JET)
17.1.0

G12196-01

Since:
  • 12.0.0
Module:
  • ojgantt

QuickNav

Attributes


JET Gantt Row Reference Object

The oj-gantt-reference-object element is used to declare properties for gantt row reference objects and is only valid as the child of a template element for the referenceObjectMappingTemplate slot of oj-gantt.


<oj-gantt row-data="[[rowDataProvider]]">
  <template slot="referenceObjectMappingTemplate">
    <oj-gantt-reference-object
      start="[[$current.data.unavailabilityStart]]"
      end="[[$current.data.unavailabilityEnd]]">
    </oj-gantt-reference-object>
  </template>
</oj-gantt>


Usage

Signature:

interface GanttReferenceObjectElement

Typescript Import Format
//To typecheck the element APIs, import as below.
import { GanttReferenceObjectElement } from "ojs/ojgantt";

//For the transpiled javascript to load the element's module, import as below
import "ojs/ojgantt";

For additional information visit:


Attributes

end :string

The end time value of this reference object. See Date and Time Formats for more details on the required string formats.
Default Value:
  • ""

start :string

The start time value of this reference object. See Date and Time Formats for more details on the required string formats.
Default Value:
  • ""

svg-class-name :string

A space delimited list of CSS style classes defining the style of the reference object. Note that only CSS style applicable to SVG elements can be used.
Default Value:
  • ""

(nullable) svg-style :Partial<CSSStyleDeclaration>

The CSS style defining the style of the reference object. Only SVG CSS style properties are supported.
Default Value:
  • {}