使用stencil框架创建
Property | Attribute | Description | Type | Default |
---|---|---|---|---|
clickFuc |
-- | Function |
undefined |
需要图片写高度才会生效
Property | Attribute | Description | Type | Default |
---|---|---|---|---|
alt |
alt |
string |
undefined |
|
defaultImg |
default-img |
string |
undefined |
|
isLazy |
is-lazy |
boolean |
true |
|
src |
src |
string |
undefined |
Property | Attribute | Description | Type | Default |
---|---|---|---|---|
MaxLength |
max-length |
number |
undefined |
|
placeholder |
placeholder |
string |
undefined |
Event | Description | Type |
---|---|---|
editBlur |
CustomEvent<void> |
|
editFocus |
CustomEvent<void> |
|
editInput |
CustomEvent<void> |
Type: Promise<string>
Name | Type | Description |
---|---|---|
src |
string |
Type: Promise<void>
Type: Promise<boolean>