callback when dom-element changes

Having problems with building or using the JCEF Java binding? Ask your questions here.

callback when dom-element changes

Postby inx » Wed May 09, 2018 7:26 am

hello.

is there a way to get a callback if a dom-element changes?
did not find anything, but maybe i overlooked something...

thanks,
inx
inx
Newbie
 
Posts: 5
Joined: Tue May 08, 2018 7:12 am

Re: callback when dom-element changes

Postby magreenblatt » Wed May 09, 2018 2:10 pm

Use javascript mutation events.
magreenblatt
Site Admin
 
Posts: 12382
Joined: Fri May 29, 2009 6:57 pm

Re: callback when dom-element changes

Postby inx » Thu May 10, 2018 4:20 am

ah okay, i see.

using javascript to send a query whenever a dom-element changes and then handling that query with a CefMessageRouter.
appending the value of the dom-element to the query as string...

is the only way to communicate from java<->javascript using strings?

thanks!
inx
Newbie
 
Posts: 5
Joined: Tue May 08, 2018 7:12 am


Return to JCEF Forum

Who is online

Users browsing this forum: No registered users and 18 guests