mcbride-clint / Blazor.IntroJs

Blazor Wrapper Library for Intro.js
MIT License
7 stars 4 forks source link

Position in Step #74

Closed JacoJordaan closed 2 years ago

JacoJordaan commented 2 years ago

Describe the feature

Good day,

First of all, thanks for this project. It has been very helpful so far in my Blazor application.

It is possible to use the position property per step? Intro.js has the property available. I have tried to add a Position string property to the IntroJsStep class, but the start method throws and error. Here is the intro.js documentation on this property:

introJs().setOptions({
  steps: [
  {
    element: document.querySelector('.card-demo'),
    intro: 'Tooltip has position right',
    position: 'right'
  },
  {
    element: document.querySelector('.card-demo-link'),
    intro: 'Tooltip has position left',
    position: 'left'
  },
  {
    element: document.querySelector('.card-demo-text'),
    intro: 'Tooltip has position bottom',
    position: 'bottom'
  },
  {
    element: document.querySelector('.card-demo'),
    intro: 'Tooltip has position top',
    position: 'top'
  }]
}).start();
JacoJordaan commented 2 years ago

Please ignore this issue. It is working now. Must have been something else not working correctly.