Skip to contents

Generic for creating the block code UI elements that are the toggle and the code container.

Usage

block_code(x, ...)

# S3 method for class 'block'
block_code(x, ns, inputs_hidden, ...)

Arguments

x

Object for which to generate UI components

...

Generic consistency

ns

Module namespace

inputs_hidden

For styling purposes: CSS class to apply when the block is collapsed.