This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"marcas": [ | |
{ | |
"id": 1, | |
"nombre": "Audi", | |
"modelos": [ | |
"A5", | |
"A3", | |
"A4", | |
"A6", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// https://www.npmjs.com/package/window-date-picker | |
// npm install --save-dev window-date-picker | |
import WindowDatePicker from 'window-date-picker'; | |
// Previamente debemos Crear en nuestro html los siguientes elementos | |
// <div id="picker"></div> | |
// <input id="demo" type="datetime-local"> | |
// <button id="toggle"></button> |