Issue #3510Opened June 2, 2021by iabhiyaan0 reactions

Re render traits after certain events (e.g click)

Question

How to re render traits after clicking on buttons ? Note : Re-rendering should not be dom modification. I have created a function that would render trait by calling the render() inside createInput() Is there any way to re-render the traits with the newer and updated dom string which was first created on createInput() ?

Answers (1)

artfJune 10, 20210 reactions

createInput is called once, if you want to update the UI of your trait, rely on onUpdate which is called every time the selection is changed.

ps. please avoid using Issues for questions, check the Discussions tab

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.