.broadcast - macmcmeans/localDataStorage GitHub Wiki
localDataStorage.broadcast( channelName )
This method defines the channelName used in broadcasting localDataStorage change events.
To effectively disable broadcasting, simply call the method on an empty string.
EXAMPLES:
// set new broadcast channel ● localData.broadcast( 'myNewChannel' )
// deactivate broadcasting ● localData.broadcast( '' )
📝 NOTE: The value set by this method is stored under the channel property.