0.0.9 • Published 6 years ago

cy-component v0.0.9

Weekly downloads
-
License
MIT
Repository
-
Last release
6 years ago

使用stencil框架创建

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

Properties

PropertyAttributeDescriptionTypeDefault
clickFuc--Functionundefined

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

需要图片写高度才会生效

Properties

PropertyAttributeDescriptionTypeDefault
altaltstringundefined
defaultImgdefault-imgstringundefined
isLazyis-lazybooleantrue
srcsrcstringundefined

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

Properties

PropertyAttributeDescriptionTypeDefault
MaxLengthmax-lengthnumberundefined
placeholderplaceholderstringundefined

Events

EventDescriptionType
editBlurCustomEvent<void>
editFocusCustomEvent<void>
editInputCustomEvent<void>

Methods

getContent() => Promise<string>

Returns

Type: Promise<string>

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

Parameters

NameTypeDescription
srcstring

Returns

Type: Promise<void>

isEmpty() => Promise<boolean>

Returns

Type: Promise<boolean>

0.0.9

6 years ago

0.0.8

6 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago