Open remshaam opened 3 years ago
Good question
As is, you can add it like introBox(data.hint = "blah",
data-hintPostion= "middle")
notice that you have to use the dash and not a period. I suppose we could add data.hintPosition
as a parameter
@carlganz Thanks for the quick reply, but I am getting an error saying there is an extra comma, meaning it doesn't recognize data-hintPostion?
@carlganz I had a couple of other questions , so posted it on stackoverflow, with a reproducible example :). https://stackoverflow.com/questions/65988981/shiny-rintrojs-issues-on-multiple-tabs
Any help on would be great and thanks for contributing to the open source package!
@carlganz Thanks for the quick reply, but I am getting an error saying there is an extra comma, meaning it doesn't recognize data-hintPostion?
The formatting wasn't right in the previous answer, try with this (there are backticks around data-hintPosition
):
introBox(data.hint = "blah", `data-hintPosition` = "middle")
Is there a way to change the position of the hint button that appears when data.hint is assigned a value inside introBox()? I see some options in the intro.js package, was wondering if r intro js has implemented this https://introjs.com/docs/hints/attributes