Picture of Paul Nicol
Triggered problem
by Paul Nicol - Tuesday, 5 August 2014, 2:36 PM
 

I have the following component set up to be triggered but it is not working?

{
"_id":"co-1_screen-1_a-3_b-1_c-1",
"_parentId":"co-1_screen-1_a-3_b-1",
"_type":"component",
"_component":"text",
"_classes":"",
"_layout":"left",
"_triggered": {
"_isEnabled":true,
"_top": 30,
"_left": 30,
"showButtonText": "Click me to show",
"hideButtonText": "Click me to hide"
},
"title":"Title",
"displayTitle":"Title",
"body":"Body",
"instruction":""
}

The build does not generate any errors.

Thanks

Picture of Daryl Hedley
Re: Triggered problem
by Daryl Hedley - Wednesday, 6 August 2014, 10:24 AM
 

Hey Paul,

have you installed triggered to your extensions folder?

Thanks,

Daryl

Picture of Paul Nicol
Re: Triggered problem
by Paul Nicol - Thursday, 7 August 2014, 10:07 AM
 

Hi

I have done:

adapt install adapt-contrib-triggered

in the course directory and the extension folder contains a folder called:

adapt-contrib-triggered.

It is currently showing the element and not hiding it.

 

Thanks