Searched refs:event (Results 1 – 25 of 50) sorted by relevance
12
/interface/sdk-js/api/@internal/component/ets/ |
D | gesture.d.ts | 283 onAction(event: (event?: GestureEvent) => void): TapGestureInterface; 304 onAction(event: (event?: GestureEvent) => void): LongPressGestureInterface; 310 onActionEnd(event: (event?: GestureEvent) => void): LongPressGestureInterface; 316 onActionCancel(event: () => void): LongPressGestureInterface; 364 onActionStart(event: (event?: GestureEvent) => void): PanGestureInterface; 370 onActionUpdate(event: (event?: GestureEvent) => void): PanGestureInterface; 376 onActionEnd(event: (event?: GestureEvent) => void): PanGestureInterface; 382 onActionCancel(event: () => void): PanGestureInterface; 400 onAction(event: (event?: GestureEvent) => void): SwipeGestureInterface; 418 onActionStart(event: (event?: GestureEvent) => void): PinchGestureInterface; [all …]
|
D | list.d.ts | 267 onScroll(event: (scrollOffset: number, scrollState: ScrollState) => void): ListAttribute; 278 onScrollIndex(event: (start: number, end: number) => void): ListAttribute; 289 onReachStart(event: () => void): ListAttribute; 300 onReachEnd(event: () => void): ListAttribute; 307 onScrollStart(event: () => void): ListAttribute; 318 onScrollStop(event: () => void): ListAttribute; 325 onItemDelete(event: (index: number) => boolean): ListAttribute; 331 onItemMove(event: (from: number, to: number) => boolean): ListAttribute; 338 …onItemDragStart(event: (event: ItemDragInfo, itemIndex: number) => ((() => any) | void)): ListAttr… 344 onItemDragEnter(event: (event: ItemDragInfo) => void): ListAttribute; [all …]
|
D | grid.d.ts | 106 onScrollIndex(event: (first: number) => void): GridAttribute; 161 …onItemDragStart(event: (event: ItemDragInfo, itemIndex: number) => (() => any) | void): GridAttrib… 167 onItemDragEnter(event: (event: ItemDragInfo) => void): GridAttribute; 173 …onItemDragMove(event: (event: ItemDragInfo, itemIndex: number, insertIndex: number) => void): Grid… 179 onItemDragLeave(event: (event: ItemDragInfo, itemIndex: number) => void): GridAttribute; 187 … event: (event: ItemDragInfo, itemIndex: number, insertIndex: number, isSuccess: boolean) => void,
|
D | web.d.ts | 1560 onPageEnd(callback: (event?: { url: string }) => void): WebAttribute; 1568 onPageBegin(callback: (event?: { url: string }) => void): WebAttribute; 1576 onProgressChange(callback: (event?: { newProgress: number }) => void): WebAttribute; 1584 onTitleReceive(callback: (event?: { title: string }) => void): WebAttribute; 1600 …onGeolocationShow(callback: (event?: { origin: string, geolocation: JsGeolocation }) => void): Web… 1616 …onAlert(callback: (event?: { url: string, message: string, result: JsResult }) => boolean): WebAtt… 1624 …onBeforeUnload(callback: (event?: { url: string, message: string, result: JsResult }) => boolean):… 1632 …onConfirm(callback: (event?: { url: string, message: string, result: JsResult }) => boolean): WebA… 1640 …onPrompt(callback: (event?: {url: string, message: string, value: string, result: JsResult }) => b… 1648 onConsole(callback: (event?: { message: ConsoleMessage }) => boolean): WebAttribute; [all …]
|
D | video.d.ts | 217 onStart(event: () => void): VideoAttribute; 223 onPause(event: () => void): VideoAttribute; 229 onFinish(event: () => void): VideoAttribute; 235 onFullscreenChange(callback: (event?: { fullscreen: boolean }) => void): VideoAttribute; 240 onPrepared(callback: (event?: { duration: number }) => void): VideoAttribute; 246 onSeeking(callback: (event?: { time: number }) => void): VideoAttribute; 252 onSeeked(callback: (event?: { time: number }) => void): VideoAttribute; 258 onUpdate(callback: (event?: { time: number }) => void): VideoAttribute; 264 onError(event: () => void): VideoAttribute;
|
D | animator.d.ts | 153 onStart(event: () => void): AnimatorAttribute; 160 onPause(event: () => void): AnimatorAttribute; 167 onRepeat(event: () => void): AnimatorAttribute; 174 onCancel(event: () => void): AnimatorAttribute; 181 onFinish(event: () => void): AnimatorAttribute; 188 onFrame(event: (value: number) => void): AnimatorAttribute;
|
D | image_animator.d.ts | 134 onStart(event: () => void): ImageAnimatorAttribute; 140 onPause(event: () => void): ImageAnimatorAttribute; 146 onRepeat(event: () => void): ImageAnimatorAttribute; 152 onCancel(event: () => void): ImageAnimatorAttribute; 158 onFinish(event: () => void): ImageAnimatorAttribute;
|
D | scroll.d.ts | 132 onScroll(event: (xOffset: number, yOffset: number) => void): ScrollAttribute; 138 onScrollEdge(event: (side: Edge) => void): ScrollAttribute; 144 onScrollStart(event: () => void): ScrollAttribute; 152 onScrollEnd(event: () => void): ScrollAttribute; 158 onScrollStop(event: () => void): ScrollAttribute; 188 …onScrollFrameBegin(event: (offset: number, state: ScrollState) => { offsetRemain: number }): Scrol…
|
D | common.d.ts | 899 declare function animateTo(value: AnimateParam, event: () => void): void; 1620 onStateChange?: (event: { isVisible: boolean }) => void; 1680 onStateChange?: (event: { isVisible: boolean }) => void; 1997 onClick(event: (event?: ClickEvent) => void): T; 2003 onHover(event: (isHover?: boolean) => void): T; 2015 onMouse(event: (event?: MouseEvent) => void): T; 2021 onTouch(event: (event?: TouchEvent) => void): T; 2027 onKeyEvent(event: (event?: KeyEvent) => void): T; 2039 onFocus(event: () => void): T; 2045 onBlur(event: () => void): T; [all …]
|
D | marquee.d.ts | 112 onStart(event: () => void): MarqueeAttribute; 123 onBounce(event: () => void): MarqueeAttribute; 134 onFinish(event: () => void): MarqueeAttribute;
|
D | image.d.ts | 288 callback: (event?: { 306 …onError(callback: (event?: { componentWidth: number; componentHeight: number }) => void): ImageAtt… 314 …onError(callback: (event?: { componentWidth: number; componentHeight: number; message: string }) =… 327 onFinish(event: () => void): ImageAttribute;
|
D | counter.d.ts | 57 onInc(event: () => void): CounterAttribute; 68 onDec(event: () => void): CounterAttribute;
|
D | xcomponent.d.ts | 70 onLoad(callback: (event?: object) => void): XComponentAttribute; 76 onDestroy(event: () => void): XComponentAttribute;
|
D | calendar.d.ts | 616 …onSelectChange(event: (event: { year: number; month: number; day: number }) => void): CalendarAttr… 624 event: (event: {
|
D | swiper.d.ts | 222 onChange(event: (index: number) => void): SwiperAttribute; 236 onAnimationStart(event: (index: number) => void): SwiperAttribute; 244 onAnimationEnd(event: (index: number) => void): SwiperAttribute;
|
D | water_flow.d.ts | 92 onReachStart(event: () => void): WaterFlowAttribute; 98 onReachEnd(event: () => void): WaterFlowAttribute;
|
/interface/sdk-js/api/application/ |
D | EventHub.d.ts | 34 on(event: string, callback: Function): void 45 off(event: string, callback?: Function): void 56 emit(event: string, ...args: Object[]): void
|
/interface/sdk-js/api/ |
D | @ohos.worker.d.ts | 184 (event: Event): void | Promise<void>; 224 dispatchEvent(event: Event): boolean; 275 dispatchEvent(event: Event): boolean; 544 onmessage?: (event: MessageEvents) => void; 555 onmessageerror?: (event: MessageEvents) => void; 640 dispatchEvent(event: Event): boolean; 712 onmessage?: (event: MessageEvent) => void; 723 onmessageerror?: (event: MessageEvent) => void;
|
D | @ohos.events.emitter.d.ts | 35 function on(event: InnerEvent, callback: Callback<EventData>): void; 46 function once(event: InnerEvent, callback: Callback<EventData>): void; 65 function emit(event: InnerEvent, data?: EventData): void;
|
D | @ohos.data.distributedData.d.ts | 1324 on(event: 'dataChange', type: SubscribeType, listener: Callback<ChangeNotification>): void; 1337 on(event: 'syncComplete', syncCallback: Callback<Array<[string, number]>>): void; 1351 off(event: 'dataChange', listener?: Callback<ChangeNotification>): void; 1365 off(event: 'syncComplete', syncCallback?: Callback<Array<[string, number]>>): void; 1626 on(event: 'dataChange', type: SubscribeType, listener: Callback<ChangeNotification>): void; 1639 on(event: 'syncComplete', syncCallback: Callback<Array<[string, number]>>): void; 1653 off(event: 'dataChange', listener?: Callback<ChangeNotification>): void; 1664 off(event: 'syncComplete', syncCallback?: Callback<Array<[string, number]>>): void; 1912 on(event: 'dataChange', type: SubscribeType, listener: Callback<ChangeNotification>): void; 1927 on(event: 'syncComplete', syncCallback: Callback<Array<[string, number]>>): void; [all …]
|
D | @system.mediaquery.d.ts | 65 addListener(callback: (event: MediaQueryEvent) => void): void; 72 removeListener(callback: (event: MediaQueryEvent) => void): void;
|
D | @ohos.accessibility.d.ts | 144 function sendEvent(event: EventInfo, callback: AsyncCallback<void>): void; 145 function sendEvent(event: EventInfo): Promise<void>; 156 function sendAccessibilityEvent(event: EventInfo, callback: AsyncCallback<void>): void; 157 function sendAccessibilityEvent(event: EventInfo): Promise<void>;
|
D | @ohos.stationary.d.ts | 94 …function on(activity: ActivityType, event: ActivityEvent, reportLatencyNs: number, callback: Callb… 115 …function off(activity: ActivityType, event: ActivityEvent, callback?: Callback<ActivityResponse>):…
|
D | @ohos.screenLock.d.ts | 202 …function sendScreenLockEvent(event: String, parameter: number, callback: AsyncCallback<boolean>): … 216 function sendScreenLockEvent(event: String, parameter: number): Promise<boolean>;
|
/interface/sdk-js/api/@internal/ets/ |
D | global.d.ts | 174 export declare function sendTouchEvent(event: TouchObject): boolean; 182 export declare function sendKeyEvent(event: KeyEvent): boolean; 190 export declare function sendMouseEvent(event: MouseEvent): boolean;
|
12