essetwide / material-walkthrough

A material tour (eg Inbox from Google).
https://essetwide.github.io/material-walkthrough/
Apache License 2.0
32 stars 10 forks source link

How to Create a Walkthrough #7

Closed oliveirafilipe closed 7 years ago

oliveirafilipe commented 8 years ago

$.walk(["ARRAY CONTENTO IDS DOS OBJETIVOS"], { walkForm: 'circ' OR 'rect', color: { NOME DO ID 1: red, NOME_ID_2:blue }, mais definicoes, mais definicoes });

menosprezzi commented 8 years ago
$.walk([{
id: ID_OBJETO1,
color: COR_DO_FUNDO1,
type: circle/rect,
text: TEXTO_CONTEUDO1
}, 
{id: ID_OBJETO2,
color: COR_DO_FUNDO2,
type: circle/rect,
text: TEXTO_CONTEUDO2
} ...]);
karanshrm44 commented 6 years ago

I am using this thing in react project but it is not working ??

oliveirafilipe commented 6 years ago

@karanshrm44 what version are you using? Did you follow the read me instructions?

menosprezzi commented 6 years ago

@karanshrm44 To achieve a better compatibility with React, I advise you to use the v2 branch, that's use vanilla JS, with no dependencies with Jquery.

Following your other comments here in the repo, I'm realizing that you're trying to code with the v2 of this package reading the v1 documentation... Follow the v2 (README)[https://github.com/essetwide/material-walkthrough/tree/v2] from zero and I believe that you can work with it.