Description Usage Arguments Examples
Createa material tag element
1 2 3 4 5 | material_tags(inputId, tags = list(), readonly = FALSE,
placeholder = "", autocomplete = NULL, color = NULL, ...)
update_material_tags(inputId, addtags = NULL, deltags = NULL,
seltags = NULL, session = shiny::getDefaultReactiveDomain())
|
inputId |
String. |
tags |
list. A list of tag elements, could have 'tag', 'icon', 'image'. |
readonly |
Boolean. Should the tags be readonly? |
placeholder |
String. A placeholder for the input text. |
autocomplete |
String. A list of words to autocomplete |
color |
String. The color name of the text input. Leave empty for 'teal lighten-1' color. Visit http://materializecss.com/color.html for a list of available colors. |
... |
tagList. Any additional tag list |
addtags |
list. Tags to be added, list of tags with elements 'tag'. |
deltags |
list. Tags to be deleted, list of positions |
seltags |
list. Tags to be selected, list of positions |
session |
Shiny default reactive domain. |
1 2 3 4 5 6 | require(materializer)
material_tags(
inputId = "extags",
tags = list(c(tag = "Apple", icon = "close")),
placeholder = "BigTech Companies"
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.