Web UI component: j-Sounds


  • Info
  • HTML
  • JS
  • CSS
  • Meta

j-Sounds

This component contains some preddefined sounds like beep, fail, success, etc.. Path contains a volume control in percentage, 0 disables playing.

Configuration:

  • url {String} URL address to sound library (default: https://cdn.componentator.com/sounds/)

Methods:

  • component.play(sound) supported sounds:
    • alert
    • message
    • badges
    • notifications
    • beep
    • confirm
    • done
    • drum
    • fail
    • success
  • component.success()
  • component.fail()
  • component.alert(), component.error()
  • component.warning()
  • component.notify()
  • component.badge()
  • component.confirm()
  • component.beep()
  • component.drum()

Author