feat:List support scrollable
This commit is contained in:
@@ -66,6 +66,9 @@ export class List extends Superview {
|
||||
@Property
|
||||
scrolledPosition?: number
|
||||
|
||||
@Property
|
||||
scrollable?: boolean
|
||||
|
||||
scrollToItem(context: BridgeContext, index: number, config?: { animated?: boolean, }) {
|
||||
const animated = config?.animated
|
||||
return this.nativeChannel(context, 'scrollToItem')({ index, animated, }) as Promise<any>
|
||||
|
Reference in New Issue
Block a user