carlganz / rintrojs

Wrapper for the Intro.js library
http://rintrojs.carlganz.com/
GNU Affero General Public License v3.0
133 stars 11 forks source link

Not able to switch the position of Intro while taking a tour #33

Open Sovik-Gupta opened 6 years ago

Sovik-Gupta commented 6 years ago

Hi All,

I am using data.steps to assign data points to display my introduction but I am not able to switch the position of intro while executing this

:  data.step = 3,
                data.intro =  includeHTML("www/DataShift.html"),
                data.position = "left"

I give position as left but still it is showing me the intro at bottom.

carlganz commented 6 years ago

Please provide a minimal reproducible example

Sovik-Gupta commented 6 years ago

Its just i am using the above line of code for showing the introduction, but when i add a data.position to it, position is not working on that... when inwas going through some of your study material i saw that we can pass a whole vector with there respective position whn we are calling the function in server, but in my condition i am not calling at server, i have declared different intro box for all my components and using basic data.steps for all the number of intro i want to show, but in this condition data.position is not working?

Sovik-Gupta commented 6 years ago

Is that functionality possible with data.step implementation on every component?