introjs 1.0.0 copy "introjs: ^1.0.0" to clipboard
introjs: ^1.0.0 copied to clipboard

Dart 1 only

intro.js wrapper for Dart

introjs.dart v1.0.0 #

A dart wrapper for intro.js v2.3.0.

Check the original repo's README for more info.

pubspec.yaml #

...
dependencies:
    inrojs: ^1.0.0
...

How to use #

This Dart package includes the original intro.js in it so you can include it from your packages once you've run pub get:

<link href="packages/introjs/introjs.css" rel="stylesheet">
<script type="text/javascript" src="packages/introjs/intro.js"></script>

<script type="application/dart" src="myapp.dart"></script>

The minified js scripts are under the minified directory:

<link href="packages/introjs/minified/introjs.min.css" rel="stylesheet">
<script type="text/javascript" src="packages/introjs/minified/intro.min.js"></script>

<script type="application/dart" src="myapp.dart"></script>

Add all the data-intros and data-steps to your HTML elements (see original README and documentation for more details) and then in myapp.dart:

import "package:introjs/introjs.dart";

void main() {
  new IntroJs().start();
}

Examples #

Examples for using the Dart wrapper can be found in the example directory.

0
likes
5
pub points
0%
popularity

Publisher

unverified uploader

intro.js wrapper for Dart

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

js

More

Packages that depend on introjs