How to init trait values from html template #3551
Unanswered
krishnaeverestengineering
asked this question in
Q&A
Replies: 1 comment 2 replies
-
editor.on('component:selected', component => {
component.set({
traits: ['name', 'placeholder']
}) |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We are loading html template with custom components in it. How to init trait values from the that ?
Beta Was this translation helpful? Give feedback.
All reactions