wrap property

bool wrap

flatpickr can parse an input group of textboxes and buttons, common in Bootstrap and other frameworks.

This permits additional markup, as well as custom elements to trigger the state of the calendar.

<div class=flatpickr>
  <input type="text" placeholder="Select Date.." data-input> <!-- input is mandatory -->
  <a class="input-button" title="toggle" data-toggle>
    <i class="icon-calendar"></i>
  </a>
  <a class="input-button" title="clear" data-clear>
    <i class="icon-close"></i>
  </a>
</div>

Default: false

Implementation

external bool get wrap;
void wrap=(bool v)

Implementation

external set wrap(bool v);