Launch Week Day 2: Introducing Reports: An Extensible Reporting Framework for Socket Data.Learn More
Socket
Book a DemoSign in
Socket

material-datetimepicker

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

material-datetimepicker

Material DateTimePicker

latest
Source
npmnpm
Version
3.11.9
Version published
Weekly downloads
22
22.22%
Maintainers
1
Weekly downloads
 
Created
Source

Material DateTimePicker

Compatible with JQuery and AngularJS =)

Originaly designed for Bootstrap Material, the V3.* is now completely standalone and responsive. Project based on "T00rk/bootstrap-material-datetimepicker" initiative, including layout adjustments and adapting to use within AngularJS.

Stories in Ready

Live Demo

[/Material-DateTimePicker/app](https://miamarti.github.io/Material-DateTimePicker/app)

Dependencies

Download make the dependencies:
  • momentJS
  • jQuery

Bower install de dependency

$ bower install ng-datetimepicker-material --save

AngularJS

This component is compatible with AngularJS 1.*

Implementation

<ng-datetimepicker ng-model="dataModel" ng-open="noKadete"></ng-datetimepicker>

<!-- Click the icon below -->
<i class="fa fa-bell" ng-click="noKadete()"></i>

Parameters

NameTypeDinamicMandatoryDescription
ng-modelStringtruetrueScope of the attribute that will be the model
ng-openFunctiontruetrueFunction pointer that opens the component
ng-mindateDatetruetrueLowest possible date

Module AngularJS include

angular.module('example', ["ngDatetimepicker"]);

JQuery

This component is compatible with JQuery

Events on jQquery

NameParametersDescription
beforeChangeevent, dateOK button is clicked
changeevent, dateOK button is clicked and input value is changed
yearSelectedevent, dateNew year is selected
dateSelectedevent, dateNew date is selected
openeventdatepicker is opened
closeeventdatepicker is closed

Methods on jQquery

$('input').bootstrapMaterialDatePicker('setDate', moment());
NameParameterDescription
setDate(String|Date|Moment)Set initial date
setMinDate(String|Date|Moment)Set minimum selectable date
setMaxDate(String|Date|Moment)Set maximum selectable date
destroyNULLDestroy the datepicker

Metrics

Throughput Graph

Keywords

css

FAQs

Package last updated on 08 Jun 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts