Skip to content

Commit

Permalink
Merge pull request #1548 from FlowFuse/Steve-Mcl-patch-1
Browse files Browse the repository at this point in the history
fix up ui-audio docs
  • Loading branch information
Steve-Mcl authored Dec 20, 2024
2 parents d79bf6e + d29cffc commit d27fd37
Showing 1 changed file with 3 additions and 15 deletions.
18 changes: 3 additions & 15 deletions docs/nodes/widgets/ui-audio.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,24 +37,19 @@ dynamic:
<script setup>
import { ref } from 'vue'

import ExampleButtonHold from '../../examples/ui-button-hold.json'

import TryDemo from "./../../components/TryDemo.vue"
import FlowViewer from '../../components/FlowViewer.vue'

const examples = ref({
'hold': ExampleButtonHold
})
</script>


<TryDemo href="button-example">
<TryDemo href="audio-example">

# Audio `ui-audio`

</TryDemo>

Adds a clickable button to your dashboard.
Adds an audio player to the dashboard.
The audio player can be controlled by the user or by control messages.

## Properties

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

<ControlsTable/>

## Example

### Simple Button

![Example of a Button](/images/node-examples/ui-button.png "Example of a Button"){data-zoomable}
*Example of a rendered button in a Dashboard.*

0 comments on commit d27fd37

Please sign in to comment.