Skip to content

Commit

Permalink
fix inline editor docs for ui-template
Browse files Browse the repository at this point in the history
  • Loading branch information
joepavitt committed Dec 7, 2023
1 parent 6ad54c9 commit 31bb4ef
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions nodes/widgets/locales/en-US/ui_template.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@
<pre>
&lt;template&gt;
&lt;div&gt;
&lt;h2&gt;Counter</h2&gt;
&lt;p&gt;Current Count: {{ count }}</p&gt;
&lt;p&gt;Formatted Count: {{ formattedCount }}</p&gt;
&lt;v-btn @click="increase()"&gt;Increment</v-btn&gt;
&lt;h2&gt;Counter&lt;/h2&gt;
&lt;p&gt;Current Count: {{ count }}&lt;/p&gt;
&lt;p class="test-class"&gt;Formatted Count: {{ formattedCount }}&lt;/p&gt;
&lt;v-btn @click="increase()"&gt;Increment&lt;/v-btn&gt;
&lt;/div&gt;
&lt;/template&gt;

&lt;script>
&lt;script&gt;
export default {
data() {
// define variables available component-wide
Expand Down Expand Up @@ -56,6 +56,12 @@
}
}
&lt;/script&gt;

&lt;style&gt;
.test-class {
color: red;
}
&lt;/script&gt;
</pre>

#### Built In Functions
Expand Down

0 comments on commit 31bb4ef

Please sign in to comment.