get only components customized id. #4419
-
Hello @artf and other contributors. I know if i run In my new feature, i need to facilitate for the user to set an anchor pointing to an id in the document... I would like to know if there is a way to get just the custom ids from. I could filter by id's starting with "i" but we have a lot of words starting with "i" both in English and Portuguese |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @ronaldohoch currently one way to see if the id was manually updated is to check it inside the component attributes if (component.get('attributes').id) {
// id updated
} |
Beta Was this translation helpful? Give feedback.
Hi @ronaldohoch currently one way to see if the id was manually updated is to check it inside the component attributes