selectors {linne}R Documentation

Selectors

Description

Create selectors to select particular elements.

Usage

sel_id(value)

sel_input(value)

sel_all()

sel_class(value)

sel_tag(value)

sel_attr(attribute, value = NULL, tag = NULL)

Arguments

value

Value of selector.

attribute

Name of attribute.

tag

Name of tag.

Details

The functions will print in the console the CSS selector they compose.

Functions

See Also

%with%, %or%, and %child% as well as when_active(), when_hover(), and when_focus() for more sophisticated element selection.

Examples

# select element where id = x
sel_id("x")

# select all elements with class = "container"
sel_class("container")


[Package linne version 0.0.2 Index]