@cable_ready/audio_operations

5.0.0 • Public • Published

Package @cable_ready/audio_operations

A collection of audio operations meant to be used with cable_ready.

Installation

Install @cable_ready/audio_operations in your application:

yarn add @cable_ready/audio_operations

# or

npm install --save @cable_ready/audio_operations

Usage

Add the audio operations to CableReady:

// app/javascript/packs/application.js

import CableReady from 'cable_ready'
import AudioOperations from '@cable_ready/audio_operations'

CableReady.addOperations(AudioOperations)

And configure CableReady on the Ruby-side to include the new operation:

# config/initializers/cable_ready.rb

CableReady.configure do |config|
  config.add_operation_name :play_sound
end

Readme

Keywords

none

Package Sidebar

Install

npm i @cable_ready/audio_operations

Weekly Downloads

2

Version

5.0.0

License

MIT

Unpacked Size

4.6 kB

Total Files

7

Last publish

Collaborators

  • hopsoft
  • marcoroth
  • julianrubisch
  • cableready-bot