Issue #3462Opened May 18, 2021by ahmedderkaoui0 reactions

Refresh/Re-render traits of all components in canvas

Question

Is there a way to re-render or refresh traits (which are customs, not built-in traits) of all the components existing whithin the canvas?

Answers (2)

iabhiyaanMay 22, 20210 reactions
editor.on('component:selected', component => {
 component.set({
  traits: ['name', 'placeholder']
 })

})
artfMay 22, 20210 reactions

mmm what is the point? Your custom traits should already react to component changes (if you created them properly).

Related Questions and Answers

Continue research with similar issue discussions.

Paid Plugins That Match This Issue

Curated by issue keywords and label relevance to help you ship faster.

View all plugins

Loading paid plugin recommendations...

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.