bootstrap-duration-picker icon indicating copy to clipboard operation
bootstrap-duration-picker copied to clipboard

Is it possible to initialize an element without first attaching it to the DOM?

Open VictorioBerra opened this issue 6 years ago • 1 comments

input = $('<input>');
input.durationPicker();
$("body").append(input );

I get

<input style="display: none;" />

VictorioBerra avatar Jul 20 '19 00:07 VictorioBerra

Actually, it would help me a whole lot if init() would return mainInputReplacer. This would allow me to get the newly created element and move it wherever I want.

VictorioBerra avatar Jul 22 '19 15:07 VictorioBerra