feat:add RefreshableDemo
This commit is contained in:
@@ -3,6 +3,7 @@ import { List } from "./list";
|
||||
import { Scroller } from "./scroller";
|
||||
import { BridgeContext } from "../runtime/global";
|
||||
import { layoutConfig } from "./declarative";
|
||||
import { Image } from "./widgets";
|
||||
|
||||
export interface IRefreshable extends IView {
|
||||
content: List | Scroller
|
||||
@@ -58,3 +59,13 @@ export function refreshable(config: IRefreshable) {
|
||||
}
|
||||
return ret
|
||||
}
|
||||
|
||||
export interface IPullable {
|
||||
startAnimation(): void
|
||||
stopAnimation(): void
|
||||
setProgressRotation(rotation: number): void
|
||||
}
|
||||
|
||||
export class PullableView extends Image {
|
||||
|
||||
}
|
Reference in New Issue
Block a user