Help with update information in Countdown
Question
I use "grapesjs-component-countdown" and when i chose date in calendar update information in the plugin.
Example: https://monosnap.com/file/sSOQJ3M4hxVRQgj008Kl302GtXu1ah
Use something like that:
change: function() {
console.log(editor.trigger('change:startfrom'));
editor.DomComponents.render();
}
Please help :)Answers (3)
Try with this
change: function() {
editor.getSelected().trigger('change:startfrom')
}
Not, it's doesn't work.
Do you have any idea?
Related Questions and Answers
Continue research with similar issue discussions.
Issue #873
[Need help]: After using urlLoad from storage manager impossible to change component with Traits
Hello, I am save template to db and after loading from db impossible to change component with Traits. Video example on countdown: https://y...
Issue #1651
How create a new modal dialog like the icons one?
Hi ! I would like create a new modal that contains templates for what users can use them later and add them to canvas/editor. I would like...
Issue #792
Script property using function don't work with blocks
In Components & JS docs there's this example: This works perfectly. But I couldn't use a function instead of a string in script, as is said...
Issue #1837
How to change the label of traits?
I'd like change the labels of triats which are going to be french. Could you give a piece of example code? Thank you Artur
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.