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

@forzoom/popup

v0.1.5

Published

npm install @forzoom/popup

Downloads

2

Readme

Install

npm install @forzoom/popup

Example

<template>
    <div>
        <Popup v-model="visible" position="center" mode="fixed" type="if" :modal="true">
            ...
        </Popup>
    </div>
</template>

<script>
    import {
        Popup,
    } from '@forzoom/popup';

    export default {
        components: {
            Popup,
        },
        data() {
            return {
                visible: false,
            };
        },
    };
</script>

<style>
    @import "./node_modules/popup/dist/popup.css";
</style>

Props

key | value --- | --- value|是否显示,可以是true/false position|位置,可以是bottom/center/top mode|固定方式,可以是fixed/absolute type|显示方式,可以是if/show modal|是否模态,可以是true/false fitIphonex(false)|是否适配iphonex containerClass|"容器"样式类 containerStyle|"容器"样式 contentClass|"内容"样式类 contentStyle|"容器"样式

Version

0.0.1

  1. 添加基础功能

0.0.2

  1. 添加popup-fade动画

0.0.3

  1. 适配iphoneX
  2. 修改样式名称

0.0.4

  1. 修改原本content元素中的.stop效果

0.0.5

  1. 适配iphonex

0.0.6

  1. 修复适配iphonex错误

0.1.3

  1. 换用rollup替换webpack进行打包,输出cjs和es格式,同时输出一个css文件

0.1.4

  1. popup添加fitIphonex属性用来决定是否对于iphonex进行适配

0.1.5

  1. 修复popup中使用const的问题

Changelog

0.0.3

  1. 修改样式名称: popup-container -> ro-popup-container

0.1.5

  1. 换用rollup替换webpack进行打包,输出cjs和es格式,同时输出一个css文件