-
Notifications
You must be signed in to change notification settings - Fork 0
JSON: display (Javascript)
display.json is the set of data sent to flexwalker.js as localized data.
Quick notes:
- Any property in
display.jsonwhich has a capital J and an underscore as the start of the key (J_parent) is expecting a complete jQuery selector (ie,.myclass) whereas properties which seem to be asking for a selector without theJ_want the plain value (myclass).
string
Set to false to prevent flexwalker.js from being enqueued.
number
Time in miliseconds to wait before doing the resize functions.
array
Put handles to other JS scripts in here to require them to load before this script does.
string
Class of the menu toggler used when menu switches from normal display to mobile display.
array of dom objects
DOM manipulations carried out after the browser is resized.
object
Environment variables, used to determine breakpoints and add classes to objects
object
Tests to see if J_measure is too wide to fit in J_against, and adds a class to J_addto if true
object
Adds a div which can be used as a screen behind toggled menu, and how to test whether to show and hide
object
Captures clicks on J_selector and sets the window location to the attribute specified from the child specified.