Audio

Generates

A standard HTML Audio element

Example Definition

let options: BuilderOptions = {
  formDefinition: [
    {
      tab: {
        id: "one",
        tabOrder: 1,
        label: "One",
      },
      rows: [
        {
          rowID: 1,
          fields: [
            {
              componentName: "Audio",
              htmlAttributes: { src: "https://sveltejs.github.io/assets/music/strauss.mp3" },
            },
          ],
        },
      ],
    },
  ],
};

Demo