1.0.4 • Published 2 years ago

date-input-select-ccm v1.0.4

Weekly downloads
-
License
-
Repository
-
Last release
2 years ago

date-input-select-ccm

installation

npm i date-input-select-ccm

how to use

import vueselectdate from 'date-input-select-ccm'
<vueselectdate 
        :startYear="1910"         //optional
        cssClass="form-select"    //optional
        defaultNameday="Dia"     //optional
        defaultNameMonth="Mes"   //optional
        defaultNameYear="Anio"  //optional
        :onChangeDay="getDay"   
        :onChangeMonth="getMonth" 
        :onChangeYear="getYear"
        :customMonths="['Enero', 'Febrero','Marzo','Abril','Mayo','Junio''Julio','Agosto','Septiembre','Octubre','Noviembre','Diciembre']"           //optional
        :itemsDescOrder="true" //optional
/>

Catch de value

<script>
import vueselectdate from "@/components/dateInputSelect.vue";
export default {
  components: {
    vueselectdate,
  },
  methods: {
    getDay(val) {
      console.log(val);
    },
    getMonth(val) {
      console.log(val);
    },
    getYear(val) {
      console.log(val);
    },
  },
};
</script>
Enjoy it!!
1.0.2

2 years ago

1.0.1

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.0

2 years ago