Frontmatter
| id | 1683 |
| title | model.Component: removeBindings(componentId) |
| state | Closed |
| labels | enhancement |
| assignees | tobiu |
| createdAt | Mar 31, 2021, 2:57 PM |
| updatedAt | Mar 31, 2021, 5:36 PM |
| githubUrl | https://github.com/neomjs/neo/issues/1683 |
| author | tobiu |
| commentsCount | 0 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Mar 31, 2021, 5:36 PM |
add a new method which removes all bindings matching a given componentId. the method needs to trigger itself on all methods inside the parent component tree chain.
a
destroy()call for a component should trigger it on the closest parent model. there is no need to call it on a model on the same level, since this one will get destroyed as well.