CodeSnippet
Use the CodeSnippet to display a code block in a read-only context. By default, the code is formatted but not highlighted.
Behavior tracking attributes
Strato sets these data-dt-* attributes on the DOM elements of the component, so that Real User Monitoring can track user interactions. They cannot be changed by the consuming application.CodeSnippet
Attribute Value data-dt-componentCodeSnippetCopy
Attribute Value data-dt-children-nameCopyDownload
Attribute Value data-dt-children-nameDownloadActionsMenu
Attribute Value data-dt-componentCodeSnippetdata-dt-children-nameOpenActionsMenudata-dt-children-nameCopydata-dt-children-nameDownload