andreasplesch / x_ite_dom

link x_ite to the DOM
http://andreasplesch.github.io/x_ite_dom/index.xhtml
MIT License
6 stars 0 forks source link

think about mutation observer dealing with sub inlines #5

Closed andreasplesch closed 8 years ago

andreasplesch commented 8 years ago

The observer will add the x3d node to the x3d scene graph when a new Inline element is added.

In addition it will have to append the new inline dom to the inline as a child. Again, async loading problem, eg. dom not available when inline el. available. create new loadsensor ? keep using browser loadsensor ?

In turn this would trigger more mutation events which should be ignored. How ? Probably by checking if mutations are inside an inline. el.ancestor or so.

Should be possible to simplify initial inline handling: Just call processInline as used in observer ?

andreasplesch commented 8 years ago

all done.