


I am coding Reactor API using node.js to create a new rule condition.
This rule should fire when clicked <a href url contains a perticular pattern (eg. href="tel:123456" condition, href contains "tel:").
I have following API call as example:
....
attributes: {
name: 'click-event',
settings: JSON.stringify({
bubbleFireIfChildFired: true,
bubbleFireIfParent: true,
elementSelector: 'a#checkout'
}),
order: 0,
delegate_descriptor_id: 'core::events::click'
},
.......
What should the settings / elementSelector contain - so that this fires when URL contains a perticular patteren?
I am new to the API, hence apologies if I am asking a basic question.
Thanks in advance.
Regards
Views
Replies
Sign in to like this content
Total Likes
Views
Replies
Sign in to like this content
Total Likes
Thanks a lot @Manoj_Kumar_ . Where can I read more about the API calls & related documentation?
Views
Replies
Sign in to like this content
Total Likes