add custom date time picker for countdown
Question
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?
Answers (3)
@kuldeepcis please take a look at how to create custom Traits
can you please provide the unminified version of grapesjs-preset-webpage.min.js?
Related Questions and Answers
Continue research with similar issue discussions.
Issue #1460
Hide Trait Element
How can I hide a trait element while creating a trait for the component. Is there any way like display:none or hidden:1. How can I show or...
Issue #718
Add Description to trait
Is there way to add description to trait? we have below trait and want to add description so user understand what is purpose of it. traits:...
Issue #857
[Question]: How do I add a custom font in the Typography | Font dropdown?
Hi, First off, this is what I've been looking for for a long time so thanks for your efforts. Next, I'd like to add a font in the Typograph...
Issue #1393
[Question] Add grapesjs color picker to a new trait type?
I'm building a a new trait type, and would like to be able to include the grapesjs color picker inside it - any suggestions on how to do th...
Paid Plugins That Match This Issue
Curated by issue keywords and label relevance to help you ship faster.
Loading paid plugin recommendations...
Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.