[ Index ] |
PHP Cross Reference of WordPress Trunk (Updated Daily) |
[Source view] [Print] [Project Stats]
(no description)
File Size: | 350 lines (10 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
reducer(state = {}, action) X-Ref |
Reducer returning the viewport state, as keys of breakpoint queries with boolean value representing whether query is matched. return: {Object} Updated state. param: {Object} state Current state. param: {Object} action Dispatched action. |
setIsMatching(values) X-Ref |
Returns an action object used in signalling that viewport queries have been updated. Values are specified as an object of breakpoint query keys where value represents whether query matches. Ignored from documentation as it is for internal use only. return: {Object} Action object. param: {Object} values Breakpoint query matches. |
isViewportMatch(state, query) X-Ref |
Returns true if the viewport matches the given query, or false otherwise. return: {boolean} Whether viewport matches query. param: {Object} state Viewport state object. param: {string} query Query string. Includes operator and breakpoint name, |
Generated : Sun Apr 13 08:20:01 2025 | Cross-referenced by PHPXref |