开发者

before domnodeinserted - javascript

开发者 https://www.devze.com 2023-03-01 02:06 出处:网络
is it possible to launch an event before the node is inserted? I know that \"domnodeinserted\" works i开发者_运维问答n gecko based browsers but I that code is executed after the node is inserted. I ac

is it possible to launch an event before the node is inserted? I know that "domnodeinserted" works i开发者_运维问答n gecko based browsers but I that code is executed after the node is inserted. I actually want to execute a code before the node is inserted. Thanks in advance!


No, there is no such event. There is nothing in the list of DOM mutation events specified by DOM Level 2 (or even DOM Level 3) that does what you want.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号