cy-component
TypeScript icon, indicating that this package has built-in type declarations

0.0.9 • Public • Published

使用stencil框架创建

cy-fast-click 移动端模拟点击组件

Properties

Property Attribute Description Type Default
clickFuc -- Function undefined

cy-lazy-img 图片懒加载组件

需要图片写高度才会生效

Properties

Property Attribute Description Type Default
alt alt string undefined
defaultImg default-img string undefined
isLazy is-lazy boolean true
src src string undefined

cy-rich-editor 富文本编辑器组件

Properties

Property Attribute Description Type Default
MaxLength max-length number undefined
placeholder placeholder string undefined

Events

Event Description Type
editBlur CustomEvent<void>
editFocus CustomEvent<void>
editInput CustomEvent<void>

Methods

getContent() => Promise<string>

Returns

Type: Promise<string>

insertChartIcon(src: string) => Promise<void>

Parameters

Name Type Description
src string

Returns

Type: Promise<void>

isEmpty() => Promise<boolean>

Returns

Type: Promise<boolean>

Readme

Keywords

Package Sidebar

Install

npm i cy-component

Weekly Downloads

12

Version

0.0.9

License

MIT

Unpacked Size

2.72 MB

Total Files

67

Last publish

Collaborators

  • chenyangai