react-joyride

WebJar for react-joyride

Лицензия

Лицензия

MIT
Категории

Категории

IDE Инструменты разработки React Взаимодействие с пользователем Веб-фреймворки
Группа

Группа

org.webjars.npm
Идентификатор

Идентификатор

react-joyride
Последняя версия

Последняя версия

1.11.2
Дата

Дата

Тип

Тип

jar
Описание

Описание

react-joyride
WebJar for react-joyride
Ссылка на сайт

Ссылка на сайт

http://webjars.org
Система контроля версий

Система контроля версий

https://github.com/gilbarbara/react-joyride

Скачать react-joyride

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/org.webjars.npm/react-joyride/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>react-joyride</artifactId>
    <version>1.11.2</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/react-joyride/
implementation 'org.webjars.npm:react-joyride:1.11.2'
// https://jarcasting.com/artifacts/org.webjars.npm/react-joyride/
implementation ("org.webjars.npm:react-joyride:1.11.2")
'org.webjars.npm:react-joyride:jar:1.11.2'
<dependency org="org.webjars.npm" name="react-joyride" rev="1.11.2">
  <artifact name="react-joyride" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='react-joyride', version='1.11.2')
)
libraryDependencies += "org.webjars.npm" % "react-joyride" % "1.11.2"
[org.webjars.npm/react-joyride "1.11.2"]

Зависимости

compile (2)

Идентификатор библиотеки Тип Версия
org.webjars.npm : nested-property jar [0.0.7,0.0.8)
org.webjars.npm : scroll jar [2.0.1,3)

Модули Проекта

Данный проект не имеет модулей.

React Joyride

Joyride example image

Create awesome tours for your app!

Showcase your app to new users or explain functionality of new features.

It uses react-floater for positioning and styling.
And you can use your own components too!

View the demo here (or the codesandbox examples)

Read the docs

Chat about it in our Spectrum community

Setup

npm i react-joyride

Getting Started

import Joyride from 'react-joyride';

export class App extends React.Component {
  state = {
    steps: [
      {
        target: '.my-first-step',
        content: 'This is my awesome feature!',
      },
      {
        target: '.my-other-step',
        content: 'This another awesome feature!',
      },
      ...
    ]
  };

  render () {
    const { steps } = this.state;

    return (
      <div className="app">
        <Joyride
          steps={steps}
          ...
        />
        ...
      </div>
    );
  }
}

If you need to support legacy browsers you need to include the scrollingelement polyfill.

Development

Setting up a local development environment is easy!

Clone (or fork) this repo on your machine, navigate to its location in the terminal and run:

npm install
npm link # link your local repo to your global packages
npm run watch # build the files and watch for changes

Now clone https://github.com/gilbarbara/react-joyride-demo and run:

npm install
npm link react-joyride # just link your local copy into this project's node_modules
npm start

Start coding! 🎉

Версии библиотеки

Версия
1.11.2
1.3.6
0.7.6