svelte/test/runtime/samples/set-after-destroy/_config.js

11 lines
111 B

export default {
props: {
x: 1
},
test({ component }) {
component.$destroy();
component.x = 2;
}
};