button_widget: Generate button widget for a Synapse wiki

View source: R/wiki_mod.R

button_widgetR Documentation

Generate button widget for a Synapse wiki

Description

Generate markup for a button widget for a Synapse project wiki. Refer to widget docs at https://help.synapse.org/docs/Wikis.1975746682.html#Wikis-WikiWidgets. Buttons should be created sparingly and strategically. See remove_button in case of future regret.

Usage

button_widget(label, url, align = c("None", "Left", "Right", "Center"))

Arguments

label

Button label text.

url

URL that the button will link to.

align

Button alignment, can be one of "None", "Left", "Right", or "Center" (defaults to "None").


nf-osi/nfportalutils documentation built on Feb. 26, 2024, 1:05 p.m.