2017 © Pedro Peláez
 

library flatpickr

Flatpickr wrapper for Spiral

image

spiral/flatpickr

Flatpickr wrapper for Spiral

  • Thursday, October 13, 2016
  • by wolfy-j
  • Repository
  • 7 Watchers
  • 0 Stars
  • 25 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Spiral flatpickr wrapper

Usage Example

At frontend (dark template required), simply add virtual tag to your form:, (*1)

<dark:use bundle="spiral:flatpickr-bundle"/>
...
<form:flatpickr value="" name="datetime" label="Date-time"/>

The code above will be transformed into html and will add required javascript., (*2)

Options

  • name (required) -- textarea name-attr (to send in form)
  • label (optional) -- editor label (if not specified, will not be generated)
  • label-class (optional) -- custom class to be passed into label
  • config (optional) -- flatpickr config in JSON

Installation

composer require spiral/flatpickr
spiral register spiral/flatpickr, (*3)

Update

composer update spiral/flatpickr
spiral publish spiral/flatpickr, (*4)

License

Copyright (c) 2016 Alex Chepura and contributors. Released under an MIT license., (*5)

The Versions

13/10 2016

dev-master

9999999-dev

Flatpickr wrapper for Spiral

  Sources   Download

MIT

The Requires

 

by Alex Chepura

13/10 2016

v0.1

0.1.0.0

Flatpickr wrapper for Spiral

  Sources   Download

MIT

The Requires

 

by Alex Chepura