findAttribute: Find the child of the targeted element that has a specific...

View source: R/shinyYM-utils.R

findAttributeR Documentation

Find the child of the targeted element that has a specific attribute and value.

Description

This function takes a DOM element/tag object and reccurs within it until

Usage

findAttribute(x, attr, val)

Arguments

x

Parent tag.

attr

Atttribute like id, class, data-toggle, ...

val

Attribute value.

Value

TRUE or FALSE, depending on the search result


ymansiaux/shinyYM documentation built on March 20, 2022, 11:53 p.m.