add custom date time picker for countdown
For countdown we would like to add our custom datetime picker not just the html one.We tried adding click event in its trait this way traits: [{ label: "Start", name: "startfrom", changeProp: 1, type: n.dateInputType, events:{ click:"handleClick", }, handleClick:function(e){alert('here')}, }
but this doesn't work.Can you please help with it. can you please provide the unminified version of grapesjs-preset-webpage.min.js?
Source codes:
- https://github.com/artf/grapesjs-preset-webpage
- https://github.com/artf/grapesjs-component-countdown
@kuldeepcis please take a look at how to create custom Traits
can you please provide the unminified version of grapesjs-preset-webpage.min.js?
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.