OpenRoberta/enjoyhint

Name: enjoyhint

Owner: Open Roberta

Description: null

Created: 2016-05-09 18:58:30.0

Updated: 2016-05-09 18:58:31.0

Pushed: 2018-03-21 15:02:11.0

Homepage: null

Size: 8117

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

EnjoyHint

EnjoyHint is a web-tool that provides the simplest way to create interactive tutorials and hints for your site or web-application. It can also be used to highlight and sign application elements.

EnjoyHint is free software distributed under the terms of MIT license.

Demo Dependencies

EnjoyHint require the following plugins and libs:

Installation

You can install it through bower package manager:

r install enjoyhint

Alternative way:

Initialization and configuration:
itialize instance
enjoyhint_instance = new EnjoyHint({});

mple config. 
ly one step - highlighting(with description) "New" button 
de EnjoyHint after a click on the button.
enjoyhint_script_steps = [

'click .new_btn' : 'Click the "New" button to start creating your project'
 


t script config
yhint_instance.set(enjoyhint_script_steps);

n Enjoyhint script
yhint_instance.run();
Script Configuration

The sequence of steps can be only linear for now. So, the script config is an array. Every element of this array is the config for some step.

Example of script configuration

Highlight some button and after you click on it, highlight some panel:

enjoyhint_script_steps = [

'click .some_btn' : 'Click on this btn'
  

'click .some_panel' : 'Click on this panel'
 

Properties of the step configuration Non-standard events:

auto - for example, you need to click on the same button on the second step imediatelly after the first step and go to the next step after it. Then you can use “auto” in the “event_type” property and “click” in “event” property.

Methods Events

Script Events:

Release notes v.3

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.