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 pluginExample
// 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 ofDeeplinksPlugin
Properties
Name | Default | Description |
---|---|---|
multiple : Boolean
| false | Should all opened panels be added to the hash? |
delimiter : String
| "," | Separator for multiple weavy URIs in the hash. |
Weavy.plugins.deeplinks.defaults = {
multiple: false,
delimiter: ","
};