attach

attaches a DHTMLX component to a dhtmlxPopup

object attach(string|object component,object config);

Parameters

componentstring|objectthe name or object of a component
configobjectoptional, the configuration settings of a component

Returns

objectthe object of the attached component

Example

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

Related samples

Back to top