DuelJS
latest
  • Getting Started
  • API:duel
  • API:channel object interface
DuelJS
  • Docs »
  • DuelJS Documentation
  • Edit on GitHub

DuelJS Documentation¶

Note

Documentation still in progress.

Welcome to the DuelJS JavaScript library documentation.

User Documentation¶

  • Getting Started
    • Requirements
    • Installing DuelJS
    • Broadcasting
    • Articles and examples
  • API:duel
    • duel
    • duel.activeChannels
    • duel.useStorageEvent
    • duel.noWarnings
    • duel.isLocalStorageAvailable()
    • duel.channel(name:string)
    • duel.makeCurrentWindowMaster()
    • duel.clone(obj:object)
    • duel._generateWindowID()
    • duel.getWindowID()
    • duel.addEvent(el:object, type:string, fn:function)
    • duel.storageEvent(event:object)
    • duel.DuelAbstractChannel
    • duel.DuelLocalStorageChannel
    • duel.DuelFakeChannel
    • window.isMaster()
  • API:channel object interface
    • channel.getItem(varName:string)
    • channel.setItem(varName:string, value:mixed)
    • channel.removeItem(varName:string)
    • channel.getName()
    • channel.setCurrentWindowAsMaster()
    • channel.currentWindowIsMaster()
    • channel.broadcast(trigger:string[, arguments:arguments])
    • channel.emit(trigger:string[, arguments:arguments])
    • channel.executeTrigger(triggerDetails:object[, force:boolean])
    • channel.on(trigger:string, callback:function)
    • channel.once(trigger:string, callback:function)
    • channel.off(trigger:string)
    • channel._triggers
Next

© Copyright 2016. Revision 9874da47.

Built with Sphinx using a theme provided by Read the Docs.
Read the Docs v: latest
Versions
latest
stable
1.2.7
1.2.6
1.2.5
1.2.4
1.2.3
1.2.2
1.2.1
1.2.0
Downloads
pdf
htmlzip
epub
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.