New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

nuxt-streamline

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nuxt-streamline

A reusable component library for Nuxt apps

latest
npmnpm
Version
1.0.601
Version published
Maintainers
1
Created
Source

nuxt-streamline

A reusable component library for Nuxt apps

NsDatePicker

  • A simple, standardized date picker component
  • Extends vuejs-datepicker (https://github.com/charliekassel/vuejs-datepicker)
  • Pre-configured with our preferred default options

Usage

<template>
  <div>
    <!--
	Wrap the date picker in <client-only> to prevent an
	error during server side render
	-->
    <client-only>
      <NsDatePicker v-model="myDate" />
    </client-only>
  </div>
</template>

<script>
import { NsDatePicker } from 'nuxt-streamline'

export default {
  components: {
    NsDatePicker,
  },
  data: () => ({
    myDate: '',
  }),
}
</script>

Props Available

All props available to vuejs-datepicker should be available for use with NsDatePicker. See https://github.com/charliekassel/vuejs-datepicker#available-props

Other props specific to NsDatePicker:

PropsTypeDefaultDescription
dayHeaderStringdRepresents the abbreviation format of the day headings in the datepicker (e.g. d="M", "T", "W" whereas ddd="Mon", "Tue", "Wed")

FAQs

Package last updated on 14 Jan 2021

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