We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
let removeDom = event => { if (event.target.parentNode) { event.target.parentNode.removeChild(event.target); } }; 冒昧的问一句,在移除event.target之前,是不是应该把它上面注册的事件监听器(事件transitioned)先移除掉?
The text was updated successfully, but these errors were encountered:
元素都移除了 元素的属性/事件自然移除了
Sorry, something went wrong.
No branches or pull requests
let removeDom = event => {
if (event.target.parentNode) {
event.target.parentNode.removeChild(event.target);
}
};
冒昧的问一句,在移除event.target之前,是不是应该把它上面注册的事件监听器(事件transitioned)先移除掉?
The text was updated successfully, but these errors were encountered: