Popup with DOM element content
This sample shows how to pass in a DOM-element into a popup as content. Most samples use a HTML string due to its simplicity, but DOM elements can also be passed in. DOM elements also make it easier to data bind events on HTML elements in the popup as well since the a global event callback function isn't needed.