Picture of Asa Kamali
Triggered and progress bar
by Asa Kamali - Monday, 8 September 2014, 5:43 PM
 

Hi,

When I add triggered to a component, it does not work with the progress bar any more.

Am I doing something wrong? 

Picture of Dan Gray
Re: Triggered and progress bar
by Dan Gray - Friday, 12 September 2014, 10:47 AM
 

Hi

Could you give some more details of how you are using triggered? Have you installed the triggered extension using the command

adapt install adapt-contrib-triggered

Or adding "adapt-contrib-triggered": "*" to your adapt.json file.

Thanks
Dan

Picture of Asa Kamali
Re: Triggered and progress bar
by Asa Kamali - Thursday, 18 September 2014, 12:50 AM
 

Hi Dan,

I have installed triggered extension using "adapt install adapt-contrib-triggered" and here are more details about my component:

{
        "_id":"c-410",
        "_parentId":"b-410",
        "_type":"component",
        "_component":"text",
        "_classes":"component-text-center",
        "_layout":"full",
        "title":"",
        "displayTitle":"",
        "body":"<h5></br>They spend their time</br></br><b>planning</b></br></br>and</br></br><b>preparing.</b></br></b></br><span class='scroll-icon'>Scroll down</span></br></h5>",
        "_triggered": {
	        "_isEnabled":true,
	        "_top": 35,
	        "_left": 42,
	        "showButtonText": "PRESS",
	        "hideButtonText": ""
        },
        "_pageLevelProgress": {
            "_isEnabled": true
        }
    },
After I add the triggered to this text component, the progress bar does not show any progress
after I press the trigger and scroll down and visit the component. I have tries it with graphic component too, and have the same problem with progress bar.
Here are some snap shots of the page before and after pressing the button.

Thank you,
Asa


Picture of Daryl Hedley
Re: Triggered and progress bar
by Daryl Hedley - Tuesday, 23 September 2014, 9:23 AM
 

Hey Asa,

Does scrolling up and down the page complete the components?

Daryl

Picture of Asa Kamali
Re: Triggered and progress bar
by Asa Kamali - Wednesday, 24 September 2014, 8:59 PM
 

Hi Daryl,

Some time it does, but most of the time it does not. As I said, it usually
happens when I add a trigger, but rarely happens that some component does
not complete even without triggered and with scrolling up and down the page.

Thank you,
Asa