As opposed to what? Not sure what the alternative you're picturing is.
popovertarget="example-dialog" popovertargetaction="hide"
It’s all binding. This is what JavaScript is for: dynamic content.
popovertarget="example-dialog" popovertargetaction="hide"
It’s all binding. This is what JavaScript is for: dynamic content.