How to provide global properties?
bfarrgaynor opened this issue · comments
bfarrgaynor commented
I would like to set a delay as a global setting and I can see that there is a delay property. But there is no example of how you want these global properties passed in?
Can you update your documentation with at least one example of how to pass in a global property?
eg:
var tripToChangePosition = new Trip({delay:4000???}, [
{ sel : jQuery("#floatingAddress"), content : "Enter your address here to start", position : "s" },
{ sel : jQuery("#serviceSelector"), content : "Then choose your services here", position : "w" }
], {
});
bfarrgaynor commented
Nvm I'm an idiot - I found them at the bottom of the web docs. Sorry!
bfarrgaynor commented
In case anyone finds this:
var tripToChangePosition = new Trip([
{ sel : jQuery("#floatingAddress"), content : "Enter your address here to start", position : "s" },
{ sel : jQuery("#serviceSelector"), content : "Then choose your services here", position : "w" }
], {
delay:4000
});
```