Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ng-static-daterange

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

ng-static-daterange

for user choose static date range

  • 1.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

#ng-static-daterange

version 1.0

基于angular 1.x 和 bootstrap 3 选择固定时间段插件

for user choose static date range

Demo

Watch the Tree component in action on the demo page.

Requirements

Angular 1.x and Bootstrap 3

Usage

Download

  • Using bower to install it. bower install ng-static-daterange
  • Using npm to install it . npm install ng-static-daterange

Code

Add the sortable module as a dependency to your application module:

var myAppModule = angular.module('MyApp', ['ngStaticDateRange'])
<p ng-static-date-range on-range-change="dateRangeChanged($dateRange)" range-model="dateRange" format="yyyy/MM/dd" class="form-group"></p>
Attributes
on-range-change

like ng-change,when date range are changeed

range-model

binding model,will init to {startDate: xxx, endDate: xxx},both startDate and endDate are Date type.

range-count

how many days the static range are.

format

format of date range to display .

Keywords

FAQs

Package last updated on 18 Apr 2016

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc