Class: Vent

js-whatever/js/vent-constructor. Vent

new Vent(router)

Constructs a new instance of vent. Observes resize events on window

Parameters:
Name Type Description
router Backbone.Router

The router to use for navigation

Source:
Fires:
  • vent:resize When the window has resized.event: Fired at most once every 200ms

Methods

fireResize()

Requests that the vent:resize event be fired

Source:

Aggregated navigation method. The Backbone.Router.navigate trigger option defauls to true

Parameters:
Name Type Description
route string

The route to navigate to

options object

Options passed to router.navigate.

Source:
Copyright 2013-2018 Micro Focus International plc. Licensed under the MIT License (the "License"); you may not use this file except in compliance with the License.
Documentation generated by JSDoc 3.4.3 on Thu Jun 21st 18:04 2018 using the DocStrap template.