Skip to content

Commit d27fd37

Browse files
authored
Merge pull request #1548 from FlowFuse/Steve-Mcl-patch-1
fix up ui-audio docs
2 parents d79bf6e + d29cffc commit d27fd37

File tree

1 file changed

+3
-15
lines changed

1 file changed

+3
-15
lines changed

docs/nodes/widgets/ui-audio.md

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -37,24 +37,19 @@ dynamic:
3737
<script setup>
3838
import { ref } from 'vue'
3939

40-
import ExampleButtonHold from '../../examples/ui-button-hold.json'
41-
4240
import TryDemo from "./../../components/TryDemo.vue"
43-
import FlowViewer from '../../components/FlowViewer.vue'
4441

45-
const examples = ref({
46-
'hold': ExampleButtonHold
47-
})
4842
</script>
4943

5044

51-
<TryDemo href="button-example">
45+
<TryDemo href="audio-example">
5246

5347
# Audio `ui-audio`
5448

5549
</TryDemo>
5650

57-
Adds a clickable button to your dashboard.
51+
Adds an audio player to the dashboard.
52+
The audio player can be controlled by the user or by control messages.
5853

5954
## Properties
6055

@@ -67,10 +62,3 @@ Adds a clickable button to your dashboard.
6762
## Controls
6863

6964
<ControlsTable/>
70-
71-
## Example
72-
73-
### Simple Button
74-
75-
![Example of a Button](/images/node-examples/ui-button.png "Example of a Button"){data-zoomable}
76-
*Example of a rendered button in a Dashboard.*

0 commit comments

Comments
 (0)