[ Index ] |
PHP Cross Reference of WordPress Trunk (Updated Daily) |
[Source view] [Print] [Project Stats]
(no description)
File Size: | 466 lines (14 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
isAppleOS(_window = null) X-Ref |
Return true if platform is MacOS. param: {Window?} _window window object by default; used for DI testing. return: {boolean} True if MacOS; false otherwise. |
capitaliseFirstCharacter(string) X-Ref |
Capitalise the first character of a string. param: {string} string String to capitalise. return: {string} Capitalised string. |
mapValues(object, mapFn) X-Ref |
Map the values of an object with a specified callback and return the result object. param: {T} object Object to map values of. param: {( value: any ) => any} mapFn Mapping function return: {any} Active modifier constants. |
getEventModifiers(event) X-Ref |
From a given KeyboardEvent, returns an array of active modifier constants for the event. param: {import('react').KeyboardEvent<HTMLElement> | KeyboardEvent} event Keyboard event. return: {Array<WPModifierPart>} Active modifier constants. |
Generated : Wed Dec 25 08:20:01 2024 | Cross-referenced by PHPXref |