Detect an element on a page
Detect and/or count an element on a page from a jQuery selector
Demos & Screenshots
No screenshots provided yet. Have some video demos or screenshots of this
brick
in the wild?
Send them over to
[email protected]!
Inputs
Name | Required | Type | Description |
---|---|---|---|
selector |
string
|
jQuery selector |
Outputs
Name | Required | Type | Description |
---|---|---|---|
count |
number
|
The number of matches | |
exists |
boolean
|
True if the element was detected |
Details
ID | @pixiebrix/dom/detect |
---|---|
Author |
@pixiebrix
|
Version | 1.6.3 |
Created | Aug. 17, 2021 |
Updated | Sept. 1, 2021 |
Related Bricks
- No related bricks