Alipay International Mini Program Development PlatformAlipay International Mini Program Development PlatformDOCS
Go to Homepage
Developer's Guide
Developer's Guide
Quick start guide
Development tool (IDE)
Mini Program Studio
IAPMiniProgram SDK
API references
OpenAPIs
JSAPI
Overview
JSAPI reference
JS bridge guide for cross-app launch
Basic
In-App Event
UI
NavigationBar
TabBar
Route
Feedback
Pulldown
Contact
Choose Date
Animation
Canvas
Keyboard
Scroll
SelectorQuery
my.createSelectorQuery
SelectorQuery Object
SelectorQuery Overview
SelectorQuery.boundingClientRect
SelectorQuery.exec
SelectorQuery.scrollOffset
SelectorQuery.select
SelectorQuery.selectAll
SelectorQuery.selectViewport
Multiple Level Select
Set Background
Set Page Pulldown
Media
Storage
File
Location
Map
Network
Device
System Information
Network Status
Clipboard
Watch Shake
Accelerometer
Compass
Vibrate
Gyroscope
Device Orientation
Make Phone Call
Capture Screen
Screen Brightness
Screen Orientation
my.setScreenOrientation
my.getScreenOrientation
Setting
Add Phone Contact
Permission Guide
Scan
Battery Information
Bluetooth
Bluetooth API Overview
Bluetooth API Error Codes
BLE
my.connectBLEDevice
my.disconnectBLEDevice
my.getBLEDeviceCharacteristics
my.getBLEDeviceServices
my.notifyBLECharacteristicValueChange
my.offBLECharacteristicValueChange
my.offBLEConnectionStateChanged
my.onBLECharacteristicValueChange
my.onBLEConnectionStateChanged
my.readBLECharacteristicValue
my.writeBLECharacteristicValue
Bluetooth
Bluetooth API FAQ
Message
Biometric authentication
Sharing
Collection
Update
web-view
Open Capabilities
Other
Capabilities
Development resources
Framework
Component
Extended Component
Basic Capabilities
Basic Libraries

SelectorQuery Overview

2021-07-06 12:36

The class of selector query object.

Functions

NameDescription
SelectorQuery.boundingClientRectPut the location of current selected node into the query result.
SelectorQuery.execPut the query result into the Callback.
SelectorQuery.scrollOffsetPut the scroll of current selected node into the query result.
SelectorQuery.selectSelect the first matched node.
SelectorQuery.selectAllSelect all the matched nodes.
SelectorQuery.selectViewportThe instance of select window.