Join us for
RADAR: AI Edition

timelineR (version 0.0.2)

add_tasks: Add post-render JavaScript tasks to timeline

Description

Add post-render JavaScript tasks to timeline

Usage

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.