headerRenderer

Custom function for rendering the dialog header. Receives two arguments:

  • root The root container DOM element. Append your content to it.

  • dialog The reference to the <vaadin-dialog> element.

If both headerTitle and headerRenderer are defined, the title and the elements created by the renderer will be placed next to each other, with the title coming first.

When headerRenderer is set, the attribute has-header is set on the dialog.