grid-highlighter.js |
This module exports thunks.
Thunks are functions that can be dispatched to the Inspector Redux store.
These functions receive one object with options that contains:
- dispatch() => function to dispatch Redux actions to the store
- getState() => function to get the current state of the entire Inspector Redux store
- inspector => object instance of Inspector client
They provide a shortcut for React components to invoke the box model highlighter
without having to know where the highlighter exists.
|
1301 |
grids.js |
Updates the color used for the grid's highlighter.
@param {NodeFront} nodeFront
The NodeFront of the DOM node to toggle the grid highlighter.
@param {String} color
The color to use for this nodeFront's grid highlighter.
|
1379 |
highlighter-settings.js |
Updates the grid highlighter's show grid areas preference.
@param {Boolean} enabled
Whether or not the grid highlighter should show the grid areas.
|
1361 |
index.js |
|
882 |
moz.build |
|
398 |