Sha256: f1dec8557515a0b56e0b84e1d7f8e9bc5552ab4871c76ef411f13d83d4c9cb83

Contents?: true

Size: 943 Bytes

Versions: 1

Compression:

Stored size: 943 Bytes

Contents

.section.bg-orange
	.wrapper
		.row
			.col.col-6
				h2 Install
				p
					code npm install flatpickr
					br

					code bower install flatpickr-calendar
				p
					| Otherwise:
					br
					a.btn(href='https://github.com/chmln/flatpickr/archive/gh-pages.zip', type='white', outline)
						span Download 
						i.icon-angle-double-down
				p.nomargin
					| Then
					code require('flatpickr')
					| , use wiredep, or otherwise load the necessary files.

			.col.col-6
				h2 Use
				p
					| There are multiple ways to create a Flatpickr instance. In all cases, config is optional. The return value will be the Flatpickr instance, or an array of instances.
				pre.prettyprint.lang-js.
					flatpickr(".selector", {});
					document.getElementById("myID").flatpickr({});
					$(".calendar").flatpickr({}); // jQuery


				p Or pass in a node directly.
				pre.prettyprint.lang-js.
					new Flatpickr(HTMLElement, [options]);

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
date_picker-0.0.9 test/dummy/vendor/assets/components/flatpickr/site/content/install_use.pug