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

rox-slip

Package Overview
Dependencies
Maintainers
5
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rox-slip

--- subtitle: 滑动容器 group: Layout ---

  • 0.0.35
  • npm
  • Socket score

Version published
Weekly downloads
2
increased by100%
Maintainers
5
Weekly downloads
 
Created
Source

subtitle: 滑动容器 group: Layout

Slip


设计思路

使用 Mask + Transition 实现的一个滑动容器

何时使用

各种需要用到浮层的情况下

API

参数说明类型默认值
direction方向,枚举值可选:ease-in,ease-in-out,ease-out,linear,cubic-bezierstrIng200
width浮层宽度750
height浮层高度numberdeviceHeight
effect显示的动画效果,枚举值可选:ease-in,ease-in-out,ease-out,linear,cubic-bezierstring'ease-in-out'
maskClosable能否点击空白区域关闭booleanfalse
duration动画时长,默认 200(单位是 ms)number200

FAQs

Package last updated on 05 Jul 2018

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