You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
I want to pass a custum attribute to event listerner
Sample formless data
{
'tag': 'input',
'type': 'text',
'name': 'sample',
'cf-questions': 'Sample question',
'required': true 'cf-data': JSON.stringify(dataobj), <--- data to pass to event listerner
}
in event listener
const dispatcher = new EventDispatcher();
dispatcher.addEventListener(FlowEvents.FLOW_UPDATE, function(event) {
console.log(event.detail); <---- data here
// your code here
}, false);
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
I want to pass a custum attribute to event listerner
Sample formless data
{
'tag': 'input',
'type': 'text',
'name': 'sample',
'cf-questions': 'Sample question',
'required': true
'cf-data': JSON.stringify(dataobj), <--- data to pass to event listerner
}
in event listener
const dispatcher = new EventDispatcher();
dispatcher.addEventListener(FlowEvents.FLOW_UPDATE, function(event) {
console.log(event.detail); <---- data here
// your code here
}, false);
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: