Skip to content

plotter: EventPlot: Namespace the resize event listeners

Darryl Green requested to merge github/fork/sinkap/eplot_resize_fix into master

Created by: sinkap

Since the listener needs to fire for each plot on the page we need to add a namespace to the registered listener. Not doing doing this causes the resize listener to be fired for the last created plot. The name-spacing can be done as follows

.on("resize.one", function_one) .on("resize.two", function_two)

Signed-off-by: Kapileshwar Singh kapileshwar.singh@arm.com

Merge request reports