Mini Program Development PlatformMini Program Development PlatformDOCS
Go to Homepage
Developing Mini Program
Working with Mini Program
Reference
Framework
Overview
App
Page
AXML Reference
SJS Reference
ACSS Reference
Event System
Event Introduction
Event Object
Mini Program Operation Mechanism
Mini Program Javascript Engine
Custom Component
Compatiblity
Suggestions on Performance Optimization
Component
Extended Component
JSAPI
Overview
JSAPI Reference
UI
NavigationBar
TabBar
Route
Feedback
Pulldown
Contact
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
Network
Device
canIUse
SDKVersion
System Information
Network Status
Clipboard
Vibrate
Make Phone Call
Get Server Time
Capture Screen
Screen Brightness
Add Phone Contact
Permission Guide
my.showAuthGuide
Scan
web-view
OpenAPI
my.navigateToMiniProgram
my.navigateBackMiniProgram
my.getAuthCode
my.getOpenUserInfo
my.tradePay

SelectorQuery Overview

2022-07-29 06:08

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.