Socket
Book a DemoInstallSign in
Socket

@smt-ui/component-gov

Package Overview
Dependencies
Maintainers
10
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@smt-ui/component-gov

政务行业组件

1.1.30
latest
npmnpm
Version published
Weekly downloads
6
-45.45%
Maintainers
10
Weekly downloads
 
Created
Source

组件名称

gov-component

解释:

列表组件基本介绍

属性说明:

属性名类型必填默认值说明
alignstringtrue-小程序应用 ID
hoverbooleanfalse--

代码示例

swan:

<view><custom-switch /><custom-switch value=’{{switch}}' bindonChange='onChange'></custom-switch><custom-switch value=’{{switch}}' bindonChange='onChange'><span slot='open'>开</span><span slot='close'>关</span></custom-switch><custom-switch disabled=’{{disabled}}' /><custom-switch loading value /><custom-switch loading /></view>

js:

Page({onChange: () => {}})

css:

custom-switch {color: #f00}

FAQs

Package last updated on 04 Aug 2020

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.