add_tasks: Add post-render JavaScript tasks to timeline

Description Usage Arguments

Description

Add post-render JavaScript tasks to timeline

Usage

1
add_tasks(chart, task = NULL)

Arguments

chart

timeline plot htmlwidget

task

either a character or JS representing a JavaScript function to run after a timeline has been rendered. This provides the ability for advanced customization. The JavaScript function will be called so this.el will be the containing div element and this.chart will be the timeline object.


timelyportfolio/timelineR documentation built on May 31, 2019, 2:14 p.m.