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

dhxPopup.attach("slider",{ 
    min: 0,
    max: 100,
    step: 1
});
dhxPopup.show();

Back to top