Skip to content

Commit

Permalink
Add docs for template scope options
Browse files Browse the repository at this point in the history
  • Loading branch information
joepavitt committed Jan 9, 2024
1 parent ebaae87 commit af91106
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/nodes/widgets/ui-template.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
props:
Group: Defines which group of the UI Dashboard this widget will render in.
Scope: "Template nodes can be used for 3 purposes/scopes: <ul><li><b>Widget:</b>A standard HTML/Vue widget rendered in a group in the Dashboard.</li><li><b>CSS (All Pages):</b>Define custom CSS classes/styling that applies to the entire Dashboard.</li><li><b>CSS (Single Page):</b>Define custom CSS classes/styling that applies just a single page of your Dashboard.</li></ul>"
Scope: "Template nodes can be used for 3 purposes/scopes: <ul><li><b>Widget (Group-Scoped):</b>A standard HTML/Vue widget rendered in a group in the Dashboard.</li><li><b>Widget (Page-Scoped):</b>A HTML/Vue widget that will render on a page, outside of any existing groups. Note that these widgets will render after any Groups. An example use case for this would be if you wanted to have a fixed footer on a given page.</li><li><b>Widget (UI-Scoped):</b>A HTML/Vue widget rendered on every page of the Dashboard. Most commonly used in conjuction with <a href=\"#teleports\">Teleports</a></li><li><b>CSS (All Pages):</b>Define custom CSS classes/styling that applies to the entire Dashboard.</li><li><b>CSS (Single Page):</b>Define custom CSS classes/styling that applies just a single page of your Dashboard.</li></ul>"
Class: Appends CSS classes to the widget
Template: The content of the widget or CSS &lt;style&gt;. If using this for CSS, you do not need to include any &lt;style&gt; tags, as these will be automatically added.
---
Expand Down

0 comments on commit af91106

Please sign in to comment.