[Question]: What is the first available event?
Question
I have a quick question in regards to events. From what I can tell load is the first event that triggers when initializing Grapes. Am I correct?
I ask because I'm creating a loading animation for my installation of grapes and need the earliest event that fires during initialization. I've reviewed other events and wasn't sure if there's a command that gets triggered before load that would allow me to use run:{commandName}
Answers (2)
Yeah, load is the event to use for this case
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.
Related Questions and Answers
Continue research with similar issue discussions.
Issue #850
[Question]: Component:Moved Event
What I'm trying to accomplish: I have a piece of code I need to run when a component is "dropped". I put "dropped" in quotes, because it ne...
Issue #1059
[Question]: Load html content from a file dynamically
Hi, I need to load content from a html file from server onto editor after or while initializing editor. How this can be implemented? HTML w...
Issue #1414
[QUESTION] Component "first render" event
Hi. I'm developing a plugin for charts using chart.js. I need to persist the model of the chart inside the generated component to render th...
Issue #966
[QUESTION] How to load external CSS file into Grapes Editor?
Hey, During my editor = grapesjs.init(), I want to load an external CSS file into the canvas using @import url(...). So when I use my custo...
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.