Skip to main content

attach()

attaches a DHTMLX component to a dhtmlxPopup

attach(name: string | object, config?: any): VNode;

Parameters:

  • name: string | object - the name or object of a component
  • config: object - optional, the configuration settings of a component

Returns:

The object of the attached component.

Example

const timepicker = new dhx.Timepicker();popup.attach(timepicker);popup.show();

Related sample: Popup. Attach Timepicker