Intro.js: How to apply css to individual tip in intro.js ?

Created on 2 Jan 2018  路  2Comments  路  Source: usablica/intro.js

I'm using your plugin which is great but I come across some requirement which demands to apply different css to each tip. Although we can use setOptions but it applies css to whole Tips.
So please solve this issues or provide alternate.

Most helpful comment

Hello, you can use tooltipClass to specify a css class to a tooltip. For example:

const intro = introJs();
intro.setOptions(
  {
    steps: [
      {
        intro: "My example",
        tooltipClass: 'main-tooltip'
      }
    ],
  });

All 2 comments

Hello, you can use tooltipClass to specify a css class to a tooltip. For example:

const intro = introJs();
intro.setOptions(
  {
    steps: [
      {
        intro: "My example",
        tooltipClass: 'main-tooltip'
      }
    ],
  });

Your API docs do not say that I can pass tooltip class to each step.

What other args could I pass to each step?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ghost picture ghost  路  7Comments

hakib picture hakib  路  4Comments

namgiang picture namgiang  路  6Comments

ethaniel picture ethaniel  路  6Comments

litan1106 picture litan1106  路  3Comments