modal_tab_format: Format modal tabs

Description Usage Arguments

View source: R/utils_modal_contents.R

Description

This function is a wrapper around modal tabs. It does two things. first, it sets the title for the whole modal. Its assumed that this is going to be based on the id of the thing you clicked on the map. Second, it formats the modals' CSS: it applies nice CSS classes to all tabs and wraps them in modalDialog.

Usage

1
modal_tab_format(region, title_fmt, ..., type = "tabs")

Arguments

region

this is a character value, probably from a reactive value

title_fmt

is a format for the modal title


ReseauBiodiversiteQuebec/mapselector documentation built on Feb. 22, 2022, 3:13 p.m.