Skip to content

6.0 can-component #354

@justinbmeyer

Description

@justinbmeyer

Events destroy and beforeRemove won't work the same.

            events: {
                destroy: function(){
					console.log("removing product");
                    this.viewModel
                }
            }

This is because control wanted to teardown on disconnect, but component needs to do this on removed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions