Gcash Mini Program Development PlatformGcash Mini Program Development PlatformDOCS
Go to Homepage
Developer's Guide
Developer's Guide
Quick start guide
Development tool (IDE)
Mini Program Studio
API references
OpenAPIs
JSAPI
Overview
JSAPI Reference
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
Sharing
Update
web-view
Alipay Connect
Open Capabilities
Capabilities
Development resources
Framework
Component
Extended Component

SelectorQuery Overview

2022-07-04 03:44

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.