Open Lnncoco opened 4 months ago
style props need to be a object with css declarations
style: {
background: 'red',
borderRadius: '5px'
}
Thank you. It's configured now. A suggestion, the official website's API: GGanttRow section does not include a description of GanttBarObject[]. One needs to delve into the source code or navigate to the Common use cases section to find this information, which is not very convenient for searching.
Following the official example, I added a
style
attribute inrow1BarList.ganttBarConfig
, but the browser reports an error: "TypeError: Failed to set an indexed property [0] on 'CSSStyleDeclaration': Indexed property setter is not supported."https://zunnzunn.github.io/vue-ganttastic/getting-started.html
vue: 3.4.21 @infectoone/vue-ganttastic: 2.3.2