LearnNewsExamplesServices
Frontmatter
id1683
titlemodel.Component: removeBindings(componentId)
stateClosed
labels
enhancement
assigneestobiu
createdAtMar 31, 2021, 2:57 PM
updatedAtMar 31, 2021, 5:36 PM
githubUrlhttps://github.com/neomjs/neo/issues/1683
authortobiu
commentsCount0
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtMar 31, 2021, 5:36 PM

model.Component: removeBindings(componentId)

Closed v8.1.0 enhancement
tobiu
tobiu commented on Mar 31, 2021, 2:57 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.

tobiu added the enhancement label on Mar 31, 2021, 2:57 PM
tobiu assigned to @tobiu on Mar 31, 2021, 2:57 PM
tobiu referenced in commit 23665e3 - "model.Component: removeBindings(componentId) #1683" on Mar 31, 2021, 5:36 PM
tobiu closed this issue on Mar 31, 2021, 5:36 PM