npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

rx-fullcalendar

v0.1.8

Published

## Project setup ``` npm install ```

Downloads

16

Readme

rx-fullcalendar

安装插件

npm install rx-fullcalendar
或:yarn add rx-fullcalendar

引入并注册插件

import Vue from 'vue'
import rxFullcalendar from 'rx-fullcalendar'
Vue.use(rxFullcalendar)

基本用法示例

<rx-fullcalendar
  :options="options"
  @changeDay="changeDay"
  @changeWeakDays="changeWeakDays"
  @changeMonth="changeMonth"
  @eventClick="eventClick"
  @dayClick="dayClick"
  @moreClick="moreClick"
>
</rx-fullcalendar>

options

options: {
       header: "day,week,month",
       firstDay: 1,
       locale: "zh-cn",
       dayTableHeaders: [
         {
           title: "序号1",
           key: "number1",
         }
       ],
       weeksTableHeaders: [
         {
           title: "序号1",
           key: "number1",
         }
       ],
       dayData: [
         {
           date: "2022-05-08",
           number1: "000015",
         },
       ],
       weekData: [
         {
           date: "2022-05-09",
           number1: "000015",
         },
       ],
       monthData: [
         {
           title: "睡觉",
           start: "2022-05-08",
           end: "2022-05-10",
           cssClass: ["family", "career"],
           YOUR_DATA: {},
         },
       ],
     }

Props

属性 | 说明 | 类型 | 默认值 :--- | :--- | :--- | :--- header | 控制视图的显示以及顺序 | String | day,week,month firstDay | 控制月历的星期一是第一天 | Number | 1 locale | 月历语言 | String | zh-cn dayTableHeaders | 日视图表格头的key和value | Array | [] weeksTableHeaders | 周视图表格头的key和value | Array | [] dayData | 日视图表格的数据 | Array | [] weekData | 周视图表格的数据 | Array | [] monthData | 月视图表格的数据 | Array | []

Events

事件名 | 说明 | 返回值 :--- | :--- | :--- changeDay | tab切换到日视图,改变日期的回调函数 | day(day) changeWeakDays | tab切换到周视图,改变周的回调函数 | weaks(weaks) changeMonth | tab切换到月视图,改变月的回调函数 | start, end, current(start, end, current) eventClick | tab切换到月视图,点击已存在事件的回调函数 | event, jsEvent, pos(event, jsEvent, pos) dayClick | tab切换到月视图,点击月历当天的回调函数 | day, jsEvent(day, jsEvent) moreClick | tab切换到月视图,已存在事件过多的时候会出现更多按钮,点击更多按钮的回调函数 | day, events, jsEvent(day, events, jsEvent)