image_element.Rd
A simple image block
image_element(url = NULL, alt_text = "image")
url | character, URL of the image to be displayed, Default: NULL |
---|---|
alt_text | character, text summary of the image, Default: 'image' |
block element class
Works with block types: Section, Context
Other elements:
button_element()
,
checkbox_element()
,
datepicker_element()
,
overflow_menu()
,
plaintext_element()
,
radiobuttons_element()
,
select_menu()
,
select_type_menu()
image_element( url = 'http://placekitten.com/700/500', alt_text = 'Multiple cute kittens.' )#> { #> "type": "image", #> "image_url": "http://placekitten.com/700/500", #> "alt_text": "Multiple cute kittens." #> }