1.0.11 • Published 8 years ago

showcase.js v1.0.11

Weekly downloads
6
License
MIT
Repository
github
Last release
8 years ago

Showcase.js

Porting Android's ShowcaseView onto client-side

No CSS is required due to all styling handled within the script

Only ~180 lines of CoffeeScript code :coffee:

Usage

Simply requires it and it will returns a new showcase

usage

Install

npm install showcase.js

Preview

preview

Config

setBackground: Sets the background color

setAccentColor: Sets the primary color tone

setRadius: Radius of the cling (i.e. the halo)

setLocation: Center X, Y coordinate of the cling

setTitle: Sets the title

setCaption: Sets the caption

setAction: Sets the action button text (e.g. Next, Done, Close, etc.)

setCallback: Sets the callback function when user clicks the action button

setDebug: Sets the debug mode to on / off

Dependency

jQuery is required

1.0.11

8 years ago

1.0.10

8 years ago

1.0.9

8 years ago

1.0.8

8 years ago

1.0.7

8 years ago

1.0.6

8 years ago

1.0.5

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago