js:add lib and .d.ts
This commit is contained in:
16
doric-js/lib/src/widget/scroller.d.ts
vendored
Normal file
16
doric-js/lib/src/widget/scroller.d.ts
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
import { Superview, View, IView } from '../ui/view';
|
||||
export declare function scroller(content: View): Scroller;
|
||||
export interface IScroller extends IView {
|
||||
content: View;
|
||||
}
|
||||
export declare class Scroller extends Superview implements IScroller {
|
||||
content: View;
|
||||
allSubviews(): View[];
|
||||
toModel(): {
|
||||
id: string;
|
||||
type: string;
|
||||
props: {
|
||||
[index: string]: import("../..").Model;
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user