Skip to content

KBE3D / KBCore / utils / get

函数: get()

get(id: string | HTMLElement): HTMLElement | null

返回给定DOM id的元素,或者返回元素本身

参数

id

dom的id

string | HTMLElement

返回

HTMLElement | null

DOM元素

KBE3D @3.0.0 Copyright © 2024-present KBE3D