DeeplinksPlugin ⇒ Weavy.plugins.deeplinks

Plugin for enabling url fragment (hash) deep links.

Note: This plugin is disabled by default and must be enabled in weavy options.

Kind: global plugin
Example
// Url with last opened panel only
var weavy = new Weavy({ 
  plugins: { 
    deeplinks: true 
  }
})
Example
// Url with all opened panels
var weavy = new Weavy({ 
  plugins: { 
    deeplinks: {
      multiple: true
    }
  }
})

.defaults : Object

Default plugin options

Kind: static property of DeeplinksPlugin
Properties
NameDefaultDescription
multiple : Boolean false

Should all opened panels be added to the hash?

delimiter : String ","

Separator for multiple weavy URIs in the hash.

Example
Weavy.plugins.deeplinks.defaults = {
  multiple: false,
  delimiter: ","
};

.dependencies : Array.<string>

Non-optional dependencies.

Kind: static property of DeeplinksPlugin