You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This would allow for more gracefully replacements, so that way we are doing all operations at once on text nodes. This would be great to be able to emulate in a virtual environment as well.
constaracari=newAracari(parentNode,{batch: true});// allow for only batch replacements.console.log(aracari.getText())// the bird is the wordaracari.replace('bird',[span]);aracari.replace('word',[span]);console.log(aracari.changes())// { replace: 'bird', address: '0' }, { replace: 'word', address: '2' }// aracari knows the second replacement is at the address of 2 because of the prior replacement. aracari.commit();// not sure what the name should be here.
Working in a virtual env, server, or background script we would need some type of equivalent to create these nodes or maybe another interface?
The text was updated successfully, but these errors were encountered:
Description
This would allow for more gracefully replacements, so that way we are doing all operations at once on text nodes. This would be great to be able to emulate in a virtual environment as well.
Working in a virtual env, server, or background script we would need some type of equivalent to create these nodes or maybe another interface?
The text was updated successfully, but these errors were encountered: