[ Index ] |
PHP Cross Reference of WordPress |
[Source view] [Print] [Project Stats]
(no description)
File Size: | 29827 lines (1077 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
__webpack_require__(moduleId) X-Ref |
No description |
getDefault() X-Ref |
No description |
getModuleExports() X-Ref |
No description |
classNames() X-Ref |
No description |
_iterableToArrayLimit(arr, i) X-Ref |
No description |
_slicedToArray(arr, i) X-Ref |
No description |
StorageObject() X-Ref |
No description |
_parseArray(resultSet, array) X-Ref |
No description |
_parseNumber(resultSet, num) X-Ref |
No description |
_parseObject(resultSet, object) X-Ref |
No description |
_parseString(resultSet, str) X-Ref |
No description |
_parse(resultSet, arg) X-Ref |
No description |
_classNames() X-Ref |
No description |
_objectWithoutProperties(source, excluded) X-Ref |
No description |
ownKeys(object, enumerableOnly) X-Ref |
No description |
_objectSpread(target) X-Ref |
No description |
Icon(_ref) X-Ref |
Return an SVG icon. param: {IconProps} props icon is the SVG component to render return: {JSX.Element} Icon component |
_arrayWithoutHoles(arr) X-Ref |
No description |
_nonIterableSpread() X-Ref |
No description |
_toConsumableArray(arr) X-Ref |
No description |
_assertThisInitialized(self) X-Ref |
No description |
_getPrototypeOf(o) X-Ref |
No description |
_arrayLikeToArray(arr, len) X-Ref |
No description |
_classCallCheck(instance, Constructor) X-Ref |
No description |
_defineProperties(target, props) X-Ref |
No description |
_createClass(Constructor, protoProps, staticProps) X-Ref |
No description |
_inherits(subClass, superClass) X-Ref |
No description |
_classCallCheck(instance, Constructor) X-Ref |
No description |
_defineProperties(target, props) X-Ref |
No description |
_createClass(Constructor, protoProps, staticProps) X-Ref |
No description |
_slicedToArray(arr, i) X-Ref |
No description |
_arrayWithHoles(arr) X-Ref |
No description |
_iterableToArrayLimit(arr, i) X-Ref |
No description |
_nonIterableRest() X-Ref |
No description |
FastAverageColor() X-Ref |
No description |
_possibleConstructorReturn(self, call) X-Ref |
No description |
_unsupportedIterableToArray(o, minLen) X-Ref |
No description |
normalizeWheel( event) X-Ref |
Mouse wheel (and 2-finger trackpad) support on the web sucks. It is complicated, thus this doc is long and (hopefully) detailed enough to answer your questions. If you need to react to the mouse wheel in a predictable way, this code is like your bestest friend. * hugs * As of today, there are 4 DOM event types you can listen to: 'wheel' -- Chrome(31+), FF(17+), IE(9+) 'mousewheel' -- Chrome, IE(6+), Opera, Safari 'MozMousePixelScroll' -- FF(3.5 only!) (2010-2013) -- don't bother! 'DOMMouseScroll' -- FF(0.9.7+) since 2003 So what to do? The is the best: normalizeWheel.getEventType(); In your event callback, use this code to get sane interpretation of the deltas. This code will return an object with properties: spinX -- normalized spin speed (use for zoom) - x plane spinY -- " - y plane pixelX -- normalized distance (to pixels) - x plane pixelY -- " - y plane Wheel values are provided by the browser assuming you are using the wheel to scroll a web page by a number of lines or pixels (or pages). Values can vary significantly on different platforms and browsers, forgetting that you can scroll at different speeds. Some devices (like trackpads) emit more events at smaller increments with fine granularity, and some emit massive jumps with linear speed or acceleration. This code does its best to normalize the deltas for you: - spin is trying to normalize how far the wheel was spun (or trackpad dragged). This is super useful for zoom support where you want to throw away the chunky scroll steps on the PC and make those equal to the slow and smooth tiny steps on the Mac. Key data: This code tries to resolve a single slow step on a wheel to 1. - pixel is normalizing the desired scroll delta in pixel units. You'll get the crazy differences between browsers, but at least it'll be in pixels! - positive value indicates scrolling DOWN/RIGHT, negative UP/LEFT. This should translate to positive value zooming IN, negative zooming OUT. This matches the newer 'wheel' event. Why are there spinX, spinY (or pixels)? - spinX is a 2-finger side drag on the trackpad, and a shift + wheel turn with a mouse. It results in side-scrolling in the browser by default. - spinY is what you expect -- it's the classic axis of a mouse wheel. - I dropped spinZ/pixelZ. It is supported by the DOM 3 'wheel' event and probably is by browsers in conjunction with fancy 3D controllers .. but you know. Implementation info: Examples of 'wheel' event if you scroll slowly (down) by one step with an average mouse: OS X + Chrome (mouse) - 4 pixel delta (wheelDelta -120) OS X + Safari (mouse) - N/A pixel delta (wheelDelta -12) OS X + Firefox (mouse) - 0.1 line delta (wheelDelta N/A) Win8 + Chrome (mouse) - 100 pixel delta (wheelDelta -120) Win8 + Firefox (mouse) - 3 line delta (wheelDelta -120) On the trackpad: OS X + Chrome (trackpad) - 2 pixel delta (wheelDelta -6) OS X + Firefox (trackpad) - 1 pixel delta (wheelDelta N/A) On other/older browsers.. it's more complicated as there can be multiple and also missing delta values. The 'wheel' event is more standard: http://www.w3.org/TR/DOM-Level-3-Events/#events-wheelevents The basics is that it includes a unit, deltaMode (pixels, lines, pages), and deltaX, deltaY and deltaZ. Some browsers provide other values to maintain backward compatibility with older events. Those other values help us better normalize spin speed. Example of what the browsers provide: | event.wheelDelta | event.detail ------------------+------------------+-------------- Safari v5/OS X | -120 | 0 Safari v5/Win7 | -120 | 0 Chrome v17/OS X | -120 | 0 Chrome v17/Win7 | -120 | 0 IE9/Win7 | -120 | undefined Firefox v4/OS X | undefined | 1 Firefox v4/Win7 | undefined | 3 |
_populate() X-Ref |
No description |
isEventSupported(eventNameSuffix, capture) X-Ref |
Checks if an event is supported in the current execution environment. NOTE: This will not work correctly for non-generic events such as `change`, `reset`, `load`, `error`, and `select`. Borrows from Modernizr. param: {string} eventNameSuffix Event name, e.g. "click". param: {?boolean} capture Check if the capture phase is supported. return: {boolean} True if the event is supported. |
_iterableToArray(iter) X-Ref |
No description |
_arrayWithHoles(arr) X-Ref |
No description |
_nonIterableRest() X-Ref |
No description |
_typeof(obj) X-Ref |
No description |
_objectWithoutPropertiesLoose(source, excluded) X-Ref |
No description |
ownKeys(object, enumerableOnly) X-Ref |
No description |
_objectSpread(target) X-Ref |
No description |
edit_ownKeys(object, enumerableOnly) X-Ref |
No description |
edit_objectSpread(target) X-Ref |
No description |
getComputedStyle(node, pseudo) X-Ref |
No description |
ParagraphRTLToolbar(_ref) X-Ref |
No description |
useDropCapMinHeight(ref, isDisabled, dependencies) X-Ref |
No description |
ParagraphBlock(_ref2) X-Ref |
No description |
save_save(_ref) X-Ref |
WordPress dependencies |
util_ownKeys(object, enumerableOnly) X-Ref |
No description |
util_objectSpread(target) X-Ref |
No description |
getClassNames(html) X-Ref |
Returns class names with any relevant responsive aspect ratio names. param: {string} html The preview HTML that possibly contains an iframe with width and height set. param: {string} existingClassNames Any existing class names. param: {boolean} allowResponsive If the responsive class names should be added, or removed. return: {string} Deduped class names. |
util_fallback(url, onReplace) X-Ref |
Fallback behaviour for unembeddable URLs. Creates a paragraph block containing a link to the URL, and calls `onReplace`. param: {string} url The URL that could not be embedded. param: {Function} onReplace Function to call with the created fallback block. |
useClientWidth(ref, dependencies) X-Ref |
WordPress dependencies |
calculateClientWidth() X-Ref |
No description |
__extends(d, b) X-Ref |
No description |
__() X-Ref |
No description |
__rest(s, e) X-Ref |
No description |
__decorate(decorators, target, key, desc) X-Ref |
No description |
__param(paramIndex, decorator) X-Ref |
No description |
__metadata(metadataKey, metadataValue) X-Ref |
No description |
__awaiter(thisArg, _arguments, P, generator) X-Ref |
No description |
adopt(value) X-Ref |
No description |
fulfilled(value) X-Ref |
No description |
rejected(value) X-Ref |
No description |
step(result) X-Ref |
No description |
__generator(thisArg, body) X-Ref |
No description |
verb(n) X-Ref |
No description |
step(op) X-Ref |
No description |
__exportStar(m, o) X-Ref |
No description |
__values(o) X-Ref |
No description |
__read(o, n) X-Ref |
No description |
__spread() X-Ref |
No description |
__spreadArrays() X-Ref |
No description |
__await(v) X-Ref |
No description |
__asyncGenerator(thisArg, _arguments, generator) X-Ref |
No description |
verb(n) X-Ref |
No description |
resume(n, v) X-Ref |
No description |
step(r) X-Ref |
No description |
fulfill(value) X-Ref |
No description |
reject(value) X-Ref |
No description |
settle(f, v) X-Ref |
No description |
__asyncDelegator(o) X-Ref |
No description |
verb(n, f) X-Ref |
No description |
__asyncValues(o) X-Ref |
No description |
verb(n) X-Ref |
No description |
settle(resolve, reject, d, v) X-Ref |
No description |
__makeTemplateObject(cooked, raw) X-Ref |
No description |
__importStar(mod) X-Ref |
No description |
__importDefault(mod) X-Ref |
No description |
__classPrivateFieldGet(receiver, privateMap) X-Ref |
No description |
__classPrivateFieldSet(receiver, privateMap, value) X-Ref |
No description |
getCropSize(mediaWidth, mediaHeight, containerWidth, containerHeight, aspect, rotation) X-Ref |
Compute the dimension of the crop area based on media size, aspect ratio and optionally rotation |
index_module_restrictPosition(position, mediaSize, cropSize, zoom, rotation) X-Ref |
Ensure a new media position stays in the crop area. |
restrictPositionCoord(position, mediaSize, cropSize, zoom) X-Ref |
No description |
getDistanceBetweenPoints(pointA, pointB) X-Ref |
No description |
getRotationBetweenPoints(pointA, pointB) X-Ref |
No description |
computeCroppedArea(crop, mediaSize, cropSize, aspect, zoom, rotation, restrictPosition) X-Ref |
Compute the output cropped area of the media in percentages and pixels. x/y are the top-left coordinates on the src media |
limitArea(max, value) X-Ref |
Ensure the returned value is between 0 and max |
noOp(_max, value) X-Ref |
No description |
getZoomFromCroppedAreaPixels(croppedAreaPixels, mediaSize, cropSize) X-Ref |
Compute the crop and zoom from the croppedAreaPixels |
getInitialCropFromCroppedAreaPixels(croppedAreaPixels, mediaSize, cropSize) X-Ref |
Compute the crop and zoom from the croppedAreaPixels |
getCenter(a, b) X-Ref |
Return the point that is the center of point a and b |
rotateAroundMidPoint(x, y, xMid, yMid, degrees) X-Ref |
Returns an x,y point once rotated around xMid,yMid |
translateSize(width, height, rotation) X-Ref |
Returns the new bounding area of a rotated rectangle. |
index_module_classNames() X-Ref |
Combine multiple class names into a single string. |
Cropper() X-Ref |
No description |
useSaveImage(_ref) X-Ref |
No description |
useTransformState(_ref) X-Ref |
No description |
editImage(event) X-Ref |
No description |
useTransformImage(imageProperties, isEditing) X-Ref |
No description |
context_ownKeys(object, enumerableOnly) X-Ref |
No description |
context_objectSpread(target) X-Ref |
No description |
ImageEditingProvider(_ref) X-Ref |
No description |
ImageCropper(_ref) X-Ref |
No description |
ZoomDropdown() X-Ref |
No description |
AspectGroup(_ref) X-Ref |
No description |
AspectRatioDropdown(_ref3) X-Ref |
No description |
RotationButton() X-Ref |
Internal dependencies |
FormControls() X-Ref |
Internal dependencies |
ImageEditor(_ref) X-Ref |
No description |
getFilename(url) X-Ref |
No description |
Image(_ref) X-Ref |
No description |
onResizeStart() X-Ref |
No description |
_onResizeStop() X-Ref |
No description |
onImageError() X-Ref |
No description |
onSetHref(props) X-Ref |
No description |
onSetTitle(value) X-Ref |
No description |
onFocusCaption() X-Ref |
No description |
onImageClick() X-Ref |
No description |
updateAlt(newAlt) X-Ref |
No description |
updateImage(newSizeSlug) X-Ref |
No description |
uploadExternal() X-Ref |
No description |
image_edit_ownKeys(object, enumerableOnly) X-Ref |
No description |
image_edit_objectSpread(target) X-Ref |
No description |
ImageEdit(_ref) X-Ref |
No description |
onUploadError(message) X-Ref |
No description |
onSelectImage(media) X-Ref |
No description |
onSelectURL(newURL) X-Ref |
No description |
updateAlignment(nextAlign) X-Ref |
No description |
image_save_save(_ref) X-Ref |
WordPress dependencies |
transforms_ownKeys(object, enumerableOnly) X-Ref |
No description |
transforms_objectSpread(target) X-Ref |
No description |
stripFirstImage(attributes, _ref) X-Ref |
WordPress dependencies |
getFirstAnchorAttributeFormHTML(html, attributeName) X-Ref |
No description |
deprecated_ownKeys(object, enumerableOnly) X-Ref |
No description |
deprecated_objectSpread(target) X-Ref |
No description |
HeadingLevelIcon(_ref) X-Ref |
Heading level icon. param: {WPHeadingLevelIconProps} props Component props. return: {?WPComponent} The icon. |
HeadingLevelDropdown(_ref) X-Ref |
Dropdown for selecting a heading level (1 through 6). param: {WPHeadingLevelDropdownProps} props Component props. return: {WPComponent} The toolbar. |
heading_edit_ownKeys(object, enumerableOnly) X-Ref |
No description |
heading_edit_objectSpread(target) X-Ref |
No description |
HeadingEdit(_ref) X-Ref |
No description |
heading_save_save(_ref) X-Ref |
WordPress dependencies |
getLevelFromHeadingNodeName(nodeName) X-Ref |
Given a node name string for a heading node, returns its numeric level. param: {string} nodeName Heading node name. return: {number} Heading level. |
quote_deprecated_ownKeys(object, enumerableOnly) X-Ref |
No description |
quote_deprecated_objectSpread(target) X-Ref |
No description |
quote_edit_ownKeys(object, enumerableOnly) X-Ref |
No description |
quote_edit_objectSpread(target) X-Ref |
No description |
QuoteEdit(_ref) X-Ref |
No description |
quote_save_save(_ref) X-Ref |
WordPress dependencies |
quote_transforms_ownKeys(object, enumerableOnly) X-Ref |
No description |
quote_transforms_objectSpread(target) X-Ref |
No description |
quote_ownKeys(object, enumerableOnly) X-Ref |
No description |
quote_objectSpread(target) X-Ref |
No description |
defaultColumnsNumber(attributes) X-Ref |
External dependencies |
gallery_deprecated_ownKeys(object, enumerableOnly) X-Ref |
No description |
gallery_deprecated_objectSpread(target) X-Ref |
No description |
_createSuper(Derived) X-Ref |
No description |
_isNativeReflectConstruct() X-Ref |
No description |
GalleryImage() X-Ref |
No description |
RichTextVisibilityHelper(_ref) X-Ref |
No description |
gallery_edit_ownKeys(object, enumerableOnly) X-Ref |
No description |
gallery_edit_objectSpread(target) X-Ref |
No description |
GalleryEdit(props) X-Ref |
No description |
setAttributes(newAttrs) X-Ref |
No description |
onSelectImage(index) X-Ref |
No description |
onDeselectImage() X-Ref |
No description |
onMove(oldIndex, newIndex) X-Ref |
No description |
onMoveForward(oldIndex) X-Ref |
No description |
onMoveBackward(oldIndex) X-Ref |
No description |
onRemoveImage(index) X-Ref |
No description |
selectCaption(newImage) X-Ref |
No description |
onSelectImages(newImages) X-Ref |
No description |
onUploadError(message) X-Ref |
No description |
setLinkTo(value) X-Ref |
No description |
setColumnsNumber(value) X-Ref |
No description |
toggleImageCrop() X-Ref |
No description |
getImageCropHelp(checked) X-Ref |
No description |
onFocusGalleryCaption() X-Ref |
No description |
setImageAttributes(index, newAttributes) X-Ref |
No description |
getImagesSizeOptions() X-Ref |
No description |
updateImagesSize(newSizeSlug) X-Ref |
No description |
gallery_save_save(_ref) X-Ref |
No description |
ArchivesEdit(_ref) X-Ref |
No description |
AudioEdit(_ref) X-Ref |
No description |
toggleAttribute(attribute) X-Ref |
No description |
onSelectURL(newSrc) X-Ref |
No description |
onUploadError(message) X-Ref |
No description |
getAutoplayHelp(checked) X-Ref |
No description |
onSelectAudio(media) X-Ref |
No description |
audio_save_save(_ref) X-Ref |
WordPress dependencies |
buttons_deprecated_ownKeys(object, enumerableOnly) X-Ref |
No description |
buttons_deprecated_objectSpread(target) X-Ref |
No description |
button_deprecated_ownKeys(object, enumerableOnly) X-Ref |
No description |
button_deprecated_objectSpread(target) X-Ref |
No description |
color_edit_ownKeys(object, enumerableOnly) X-Ref |
No description |
color_edit_objectSpread(target) X-Ref |
No description |
color_edit_getComputedStyle(node) X-Ref |
No description |
getBlockDOMNode(clientId) X-Ref |
No description |
ColorPanel(_ref) X-Ref |
No description |
ColorEdit(props) X-Ref |
Inspector control panel containing the color related configuration param: {Object} props return: {WPElement} Color edit element. |
getColorAndStyleProps(attributes, colors) X-Ref |
No description |
button_edit_ownKeys(object, enumerableOnly) X-Ref |
No description |
button_edit_objectSpread(target) X-Ref |
No description |
BorderPanel(_ref) X-Ref |
No description |
WidthPanel(_ref2) X-Ref |
No description |
handleChange(newWidth) X-Ref |
No description |
URLPicker(_ref3) X-Ref |
No description |
ButtonEdit(props) X-Ref |
No description |
save_ownKeys(object, enumerableOnly) X-Ref |
No description |
save_objectSpread(target) X-Ref |
No description |
button_save_save(_ref) X-Ref |
Internal dependencies |
button_ownKeys(object, enumerableOnly) X-Ref |
No description |
button_objectSpread(target) X-Ref |
No description |
content_justification_dropdown_ownKeys(object, enumerableOnly) X-Ref |
No description |
content_justification_dropdown_objectSpread(target) X-Ref |
No description |
ContentJustificationDropdown(_ref) X-Ref |
Dropdown for selecting a content justification option. param: {Object} props Component props. param: {string[]} [props.allowedValues] List of options to include. Default: param: {()=>void} props.onChange Callback to run when an option is param: {Object} props.toggleProps Props to pass to the dropdown toggle. param: {string} props.value The current content justification return: {WPComponent} The component. |
ButtonsEdit(_ref) X-Ref |
No description |
buttons_save_save(_ref) X-Ref |
WordPress dependencies |
calendar_edit_ownKeys(object, enumerableOnly) X-Ref |
No description |
calendar_edit_objectSpread(target) X-Ref |
No description |
CalendarEdit(_ref) X-Ref |
No description |
CategoriesEdit(_ref) X-Ref |
No description |
CodeEdit(_ref) X-Ref |
WordPress dependencies |
utils_escape(content) X-Ref |
Escapes ampersands, shortcodes, and links. param: {string} content The content of a code block. return: {string} The given content with some characters escaped. |
escapeOpeningSquareBrackets(content) X-Ref |
Returns the given content with all opening shortcode characters converted into their HTML entity counterpart (i.e. [ => [). For instance, a shortcode like [embed] becomes [embed] This function replicates the escaping of HTML tags, where a tag like <strong> becomes <strong>. param: {string} content The content of a code block. return: {string} The given content with its opening shortcode characters |
escapeProtocolInIsolatedUrls(content) X-Ref |
Converts the first two forward slashes of any isolated URL into their HTML counterparts (i.e. // => //). For instance, https://youtube.com/watch?x becomes https://youtube.com/watch?x. An isolated URL is a URL that sits in its own line, surrounded only by spacing characters. See https://github.com/WordPress/wordpress-develop/blob/5.1.1/src/wp-includes/class-wp-embed.php#L403 param: {string} content The content of a code block. return: {string} The given content with its ampersands converted into |
code_save_save(_ref) X-Ref |
Internal dependencies |
columns_deprecated_ownKeys(object, enumerableOnly) X-Ref |
No description |
columns_deprecated_objectSpread(target) X-Ref |
No description |
_createForOfIteratorHelper(o, allowArrayLike) X-Ref |
No description |
_unsupportedIterableToArray(o, minLen) X-Ref |
No description |
_arrayLikeToArray(arr, len) X-Ref |
No description |
getDeprecatedLayoutColumn(originalContent) X-Ref |
Given an HTML string for a deprecated columns inner block, returns the column index to which the migrated inner block should be assigned. Returns undefined if the inner block was not assigned to a column. param: {string} originalContent Deprecated Columns inner block HTML. return: {?number} Column to which inner block is to be assigned. |
getEffectiveColumnWidth(block, totalBlockCount) X-Ref |
Returns an effective width for a given block. An effective width is equal to its attribute value if set, or a computed value assuming equal distribution. param: {WPBlock} block Block object. param: {number} totalBlockCount Total number of blocks in Columns. return: {number} Effective column width. |
getTotalColumnsWidth(blocks) X-Ref |
Returns the total width occupied by the given set of column blocks. param: {WPBlock[]} blocks Block objects. param: {?number} totalBlockCount Total number of blocks in Columns. return: {number} Total width occupied by blocks. |
getColumnWidths(blocks) X-Ref |
Returns an object of `clientId` → `width` of effective column widths. param: {WPBlock[]} blocks Block objects. param: {?number} totalBlockCount Total number of blocks in Columns. return: {Object<string,number>} Column widths. |
getRedistributedColumnWidths(blocks, availableWidth) X-Ref |
Returns an object of `clientId` → `width` of column widths as redistributed proportional to their current widths, constrained or expanded to fit within the given available width. param: {WPBlock[]} blocks Block objects. param: {number} availableWidth Maximum width to fit within. param: {?number} totalBlockCount Total number of blocks in Columns. return: {Object<string,number>} Redistributed column widths. |
hasExplicitPercentColumnWidths(blocks) X-Ref |
Returns true if column blocks within the provided set are assigned with explicit widths, or false otherwise. param: {WPBlock[]} blocks Block objects. return: {boolean} Whether columns have explicit widths. |
getMappedColumnWidths(blocks, widths) X-Ref |
Returns a copy of the given set of blocks with new widths assigned from the provided object of redistributed column widths. param: {WPBlock[]} blocks Block objects. param: {Object<string,number>} widths Redistributed column widths. return: {WPBlock[]} blocks Mapped block objects. |
getWidths(blocks) X-Ref |
Returns an array with columns widths values, parsed or no depends on `withParsing` flag. param: {WPBlock[]} blocks Block objects. param: {?boolean} withParsing Whether value has to be parsed. return: {Array<number,string>} Column widths. |
getWidthWithUnit(width, unit) X-Ref |
Returns a column width with unit. param: {string} width Column width. param: {string} unit Column width unit. return: {string} Column width with unit. |
isPercentageUnit(unit) X-Ref |
Returns a boolean whether passed unit is percentage param: {string} unit Column width unit. return: {boolean} Whether unit is '%'. |
ColumnsEditContainer(_ref) X-Ref |
No description |
Placeholder(_ref2) X-Ref |
No description |
columns_save_save(_ref) X-Ref |
WordPress dependencies |
columns_transforms_ownKeys(object, enumerableOnly) X-Ref |
No description |
columns_transforms_objectSpread(target) X-Ref |
No description |
column_deprecated_ownKeys(object, enumerableOnly) X-Ref |
No description |
column_deprecated_objectSpread(target) X-Ref |
No description |
ColumnEdit(_ref) X-Ref |
No description |
column_save_save(_ref) X-Ref |
WordPress dependencies |
shared_ownKeys(object, enumerableOnly) X-Ref |
No description |
shared_objectSpread(target) X-Ref |
No description |
backgroundImageStyles(url) X-Ref |
No description |
dimRatioToClass(ratio) X-Ref |
No description |
attributesFromMedia(setAttributes) X-Ref |
No description |
isContentPositionCenter(contentPosition) X-Ref |
Checks of the contentPosition is the center (default) position. param: {string} contentPosition The current content position. return: {boolean} Whether the contentPosition is center. |
getPositionClassName(contentPosition) X-Ref |
Retrieves the className for the current contentPosition. The default position (center) will not have a className. param: {string} contentPosition The current content position. return: {string} The className assigned to the contentPosition. |
cover_deprecated_ownKeys(object, enumerableOnly) X-Ref |
No description |
cover_deprecated_objectSpread(target) X-Ref |
No description |
cover_edit_ownKeys(object, enumerableOnly) X-Ref |
No description |
cover_edit_objectSpread(target) X-Ref |
No description |
retrieveFastAverageColor() X-Ref |
No description |
CoverHeightInput(_ref) X-Ref |
No description |
ResizableCover(_ref2) X-Ref |
No description |
useCoverIsDark(url) X-Ref |
useCoverIsDark is a hook that returns a boolean variable specifying if the cover background is dark or not. param: {?string} url Url of the media background. param: {?number} dimRatio Transparency of the overlay color. If an image and param: {?string} overlayColor String containing the overlay color value if one exists. param: {?Object} elementRef If a media background is set, elementRef should contain a reference to a return: {boolean} True if the cover background is considered "dark" and false otherwise. |
CoverEdit(_ref3) X-Ref |
No description |
cover_save_ownKeys(object, enumerableOnly) X-Ref |
No description |
cover_save_objectSpread(target) X-Ref |
No description |
cover_save_save(_ref) X-Ref |
Internal dependencies |
WpEmbedPreview(_ref) X-Ref |
No description |
resizeWPembeds(_ref2) X-Ref |
Checks for WordPress embed events signaling the height change when iframe content loads or iframe's window is resized. The event is sent from WordPress core via the window.postMessage API. References: window.postMessage: https://developer.mozilla.org/en-US/docs/Web/API/Window/postMessage WordPress core embed-template on load: https://github.com/WordPress/WordPress/blob/HEAD/wp-includes/js/wp-embed-template.js#L143 WordPress core embed-template on resize: https://github.com/WordPress/WordPress/blob/HEAD/wp-includes/js/wp-embed-template.js#L187 param: {WPSyntheticEvent} event Message event. |
checkFocus() X-Ref |
Checks whether the wp embed iframe is the activeElement, if it is dispatch a focus event. |
embed_preview_createSuper(Derived) X-Ref |
No description |
embed_preview_isNativeReflectConstruct() X-Ref |
No description |
EmbedPreview() X-Ref |
No description |
embed_edit_ownKeys(object, enumerableOnly) X-Ref |
No description |
embed_edit_objectSpread(target) X-Ref |
No description |
edit_getResponsiveHelp(checked) X-Ref |
No description |
embed_save_save(_ref) X-Ref |
WordPress dependencies |
FileBlockInspector(_ref) X-Ref |
No description |
ClipboardToolbarButton(_ref) X-Ref |
No description |
FileEdit(_ref2) X-Ref |
No description |
onSelectFile(newMedia) X-Ref |
No description |
onUploadError(message) X-Ref |
No description |
changeLinkDestinationOption(newHref) X-Ref |
No description |
changeOpenInNewWindow(newValue) X-Ref |
No description |
changeShowDownloadButton(newValue) X-Ref |
No description |
file_save_save(_ref) X-Ref |
WordPress dependencies |
HTMLEdit(_ref) X-Ref |
No description |
switchToPreview() X-Ref |
No description |
switchToHTML() X-Ref |
No description |
html_save_save(_ref) X-Ref |
WordPress dependencies |
imageFillStyles(url, focalPoint) X-Ref |
Constants |
ResizableBoxContainer(_ref) X-Ref |
No description |
ToolbarEditButton(_ref2) X-Ref |
No description |
PlaceholderContainer(_ref3) X-Ref |
No description |
MediaContainer(props) X-Ref |
No description |
media_text_deprecated_ownKeys(object, enumerableOnly) X-Ref |
No description |
media_text_deprecated_objectSpread(target) X-Ref |
No description |
getImageSourceUrlBySizeSlug(image, slug) X-Ref |
No description |
edit_attributesFromMedia(_ref) X-Ref |
No description |
MediaTextEdit(_ref2) X-Ref |
No description |
media_text_save_save(_ref) X-Ref |
No description |
LatestComments(_ref) X-Ref |
Maximum number of comments a user can show using this block. |
latest_posts_deprecated_ownKeys(object, enumerableOnly) X-Ref |
No description |
latest_posts_deprecated_objectSpread(target) X-Ref |
No description |
latest_posts_edit_ownKeys(object, enumerableOnly) X-Ref |
No description |
latest_posts_edit_objectSpread(target) X-Ref |
No description |
LatestPostsEdit(_ref) X-Ref |
No description |
list_edit_ownKeys(object, enumerableOnly) X-Ref |
No description |
list_edit_objectSpread(target) X-Ref |
No description |
ListEdit(_ref) X-Ref |
No description |
list_save_save(_ref) X-Ref |
WordPress dependencies |
list_transforms_ownKeys(object, enumerableOnly) X-Ref |
No description |
list_transforms_objectSpread(target) X-Ref |
No description |
getListContentSchema(_ref) X-Ref |
No description |
list_ownKeys(object, enumerableOnly) X-Ref |
No description |
list_objectSpread(target) X-Ref |
No description |
MissingBlockWarning(_ref) X-Ref |
No description |
missing_save_save(_ref) X-Ref |
WordPress dependencies |
MoreEdit(_ref) X-Ref |
No description |
more_save_save(_ref) X-Ref |
WordPress dependencies |
NextPageEdit() X-Ref |
WordPress dependencies |
nextpage_save_save() X-Ref |
WordPress dependencies |
PreformattedEdit(_ref) X-Ref |
WordPress dependencies |
preformatted_save_save(_ref) X-Ref |
WordPress dependencies |
pullquote_deprecated_ownKeys(object, enumerableOnly) X-Ref |
No description |
pullquote_deprecated_objectSpread(target) X-Ref |
No description |
parseBorderColor(styleString) X-Ref |
No description |
pullquote_edit_ownKeys(object, enumerableOnly) X-Ref |
No description |
pullquote_edit_objectSpread(target) X-Ref |
No description |
PullQuoteEdit(_ref) X-Ref |
No description |
pullQuoteMainColorSetter(colorValue) X-Ref |
No description |
pullQuoteTextColorSetter(colorValue) X-Ref |
No description |
pullquote_save_save(_ref) X-Ref |
Internal dependencies |
pullquote_transforms_ownKeys(object, enumerableOnly) X-Ref |
No description |
pullquote_transforms_objectSpread(target) X-Ref |
No description |
ReusableBlockEdit(_ref) X-Ref |
No description |
RSSEdit(_ref) X-Ref |
No description |
toggleAttribute(propName) X-Ref |
No description |
onSubmitURL(event) X-Ref |
No description |
SearchEdit(_ref) X-Ref |
No description |
group_deprecated_ownKeys(object, enumerableOnly) X-Ref |
No description |
group_deprecated_objectSpread(target) X-Ref |
No description |
GroupEdit(_ref) X-Ref |
No description |
group_save_save(_ref) X-Ref |
WordPress dependencies |
SeparatorEdit(_ref) X-Ref |
No description |
separatorSave(_ref) X-Ref |
WordPress dependencies |
ShortcodeEdit(_ref) X-Ref |
No description |
shortcode_save_save(_ref) X-Ref |
WordPress dependencies |
spacer_save_save(_ref) X-Ref |
WordPress dependencies |
SubheadEdit(_ref) X-Ref |
No description |
subhead_save_save(_ref) X-Ref |
WordPress dependencies |
state_ownKeys(object, enumerableOnly) X-Ref |
No description |
state_objectSpread(target) X-Ref |
No description |
createTable(_ref) X-Ref |
Creates a table state. param: {Object} options param: {number} options.rowCount Row count for the table to create. param: {number} options.columnCount Column count for the table to create. return: {Object} New table state. |
getFirstRow(state) X-Ref |
Returns the first row in the table. param: {Object} state Current table state. return: {Object} The first table row. |
getCellAttribute(state, cellLocation, attributeName) X-Ref |
Gets an attribute for a cell. param: {Object} state Current table state. param: {Object} cellLocation The location of the cell param: {string} attributeName The name of the attribute to get the value of. return: {*} The attribute value. |
updateSelectedCell(state, selection, updateCell) X-Ref |
Returns updated cell attributes after applying the `updateCell` function to the selection. param: {Object} state The block attributes. param: {Object} selection The selection of cells to update. param: {Function} updateCell A function to update the selected cell attributes. return: {Object} New table state including the updated cells. |
isCellSelected(cellLocation, selection) X-Ref |
Returns whether the cell at `cellLocation` is included in the selection `selection`. param: {Object} cellLocation An object containing cell location properties. param: {Object} selection An object containing selection properties. return: {boolean} True if the cell is selected, false otherwise. |
insertRow(state, _ref2) X-Ref |
Inserts a row in the table state. param: {Object} state Current table state. param: {Object} options param: {string} options.sectionName Section in which to insert the row. param: {number} options.rowIndex Row index at which to insert the row. param: {number} options.columnCount Column count for the table to create. return: {Object} New table state. |
deleteRow(state, _ref4) X-Ref |
Deletes a row from the table state. param: {Object} state Current table state. param: {Object} options param: {string} options.sectionName Section in which to delete the row. param: {number} options.rowIndex Row index to delete. return: {Object} New table state. |
insertColumn(state, _ref6) X-Ref |
Inserts a column in the table state. param: {Object} state Current table state. param: {Object} options param: {number} options.columnIndex Column index at which to insert the column. return: {Object} New table state. |
deleteColumn(state, _ref7) X-Ref |
Deletes a column from the table state. param: {Object} state Current table state. param: {Object} options param: {number} options.columnIndex Column index to delete. return: {Object} New table state. |
toggleSection(state, sectionName) X-Ref |
Toggles the existance of a section. param: {Object} state Current table state. param: {string} sectionName Name of the section to toggle. return: {Object} New table state. |
isEmptyTableSection(section) X-Ref |
Determines whether a table section is empty. param: {Object} section Table section state. return: {boolean} True if the table section is empty, false otherwise. |
isEmptyRow(row) X-Ref |
Determines whether a table row is empty. param: {Object} row Table row state. return: {boolean} True if the table section is empty, false otherwise. |
table_edit_ownKeys(object, enumerableOnly) X-Ref |
No description |
table_edit_objectSpread(target) X-Ref |
No description |
TSection(_ref) X-Ref |
No description |
TableEdit(_ref2) X-Ref |
No description |
onChangeInitialColumnCount(count) X-Ref |
Updates the initial column count used for table creation. param: {number} count New initial column count. |
onChangeInitialRowCount(count) X-Ref |
Updates the initial row count used for table creation. param: {number} count New initial row count. |
onCreateTable(event) X-Ref |
Creates a table based on dimensions in local state. param: {Object} event Form submit event. |
onChangeFixedLayout() X-Ref |
Toggles whether the table has a fixed layout or not. |
onChange(content) X-Ref |
Changes the content of the currently selected cell. param: {Array} content A RichText content value. |
onChangeColumnAlignment(align) X-Ref |
Align text within the a column. param: {string} align The new alignment to apply to the column. |
getCellAlignment() X-Ref |
Get the alignment of the currently selected cell. return: {string} The new alignment to apply to the column. |
onToggleHeaderSection() X-Ref |
Add or remove a `head` table section. |
onToggleFooterSection() X-Ref |
Add or remove a `foot` table section. |
onInsertRow(delta) X-Ref |
Inserts a row at the currently selected row index, plus `delta`. param: {number} delta Offset for selected row index at which to insert. |
onInsertRowBefore() X-Ref |
Inserts a row before the currently selected row. |
onInsertRowAfter() X-Ref |
Inserts a row after the currently selected row. |
onDeleteRow() X-Ref |
Deletes the currently selected row. |
onInsertColumn() X-Ref |
Inserts a column at the currently selected column index, plus `delta`. param: {number} delta Offset for selected column index at which to insert. |
onInsertColumnBefore() X-Ref |
Inserts a column before the currently selected column. |
onInsertColumnAfter() X-Ref |
Inserts a column after the currently selected column. |
onDeleteColumn() X-Ref |
Deletes the currently selected column. |
table_save_save(_ref) X-Ref |
WordPress dependencies |
TextColumnsEdit(_ref) X-Ref |
No description |
text_columns_save_save(_ref) X-Ref |
WordPress dependencies |
VerseEdit(_ref) X-Ref |
No description |
verse_save_save(_ref) X-Ref |
WordPress dependencies |
_objectDestructuringEmpty(obj) X-Ref |
No description |
tracks_editor_ownKeys(object, enumerableOnly) X-Ref |
No description |
tracks_editor_objectSpread(target) X-Ref |
No description |
TrackList(_ref) X-Ref |
No description |
SingleTrackEditor(_ref2) X-Ref |
No description |
TracksEditor(_ref3) X-Ref |
No description |
Tracks(_ref) X-Ref |
No description |
VideoEdit(_ref) X-Ref |
No description |
onSelectVideo(media) X-Ref |
No description |
onSelectURL(newSrc) X-Ref |
No description |
onUploadError(message) X-Ref |
No description |
onSelectPoster(image) X-Ref |
No description |
onRemovePoster() X-Ref |
No description |
video_save_save(_ref) X-Ref |
Internal dependencies |
TagCloudEdit(_ref) X-Ref |
No description |
freeform_edit_ownKeys(object, enumerableOnly) X-Ref |
No description |
freeform_edit_objectSpread(target) X-Ref |
No description |
isTmceEmpty(editor) X-Ref |
No description |
ClassicEdit(_ref) X-Ref |
No description |
onSetup(editor) X-Ref |
No description |
initialize() X-Ref |
No description |
onReadyStateChange() X-Ref |
No description |
focus() X-Ref |
No description |
onToolbarKeyDown(event) X-Ref |
No description |
freeform_save_save(_ref) X-Ref |
WordPress dependencies |
SocialLinksEdit(props) X-Ref |
No description |
social_links_save_save(props) X-Ref |
WordPress dependencies |
_defineProperty(obj, key, value) X-Ref |
No description |
_setPrototypeOf(o, p) X-Ref |
No description |
tinycolor(color, opts) X-Ref |
No description |
inputToRGB(color) X-Ref |
No description |
rgbToRgb(r, g, b) X-Ref |
No description |
rgbToHsl(r, g, b) X-Ref |
No description |
hslToRgb(h, s, l) X-Ref |
No description |
hue2rgb(p, q, t) X-Ref |
No description |
rgbToHsv(r, g, b) X-Ref |
No description |
hsvToRgb(h, s, v) X-Ref |
No description |
rgbToHex(r, g, b, allow3Char) X-Ref |
No description |
rgbaToHex(r, g, b, a, allow4Char) X-Ref |
No description |
rgbaToArgbHex(r, g, b, a) X-Ref |
No description |
desaturate(color, amount) X-Ref |
No description |
saturate(color, amount) X-Ref |
No description |
greyscale(color) X-Ref |
No description |
lighten(color, amount) X-Ref |
No description |
brighten(color, amount) X-Ref |
No description |
darken(color, amount) X-Ref |
No description |
spin(color, amount) X-Ref |
No description |
complement(color) X-Ref |
No description |
triad(color) X-Ref |
No description |
tetrad(color) X-Ref |
No description |
splitcomplement(color) X-Ref |
No description |
analogous(color, results, slices) X-Ref |
No description |
monochromatic(color, results) X-Ref |
No description |
flip(o) X-Ref |
No description |
boundAlpha(a) X-Ref |
No description |
bound01(n, max) X-Ref |
No description |
clamp01(val) X-Ref |
No description |
parseIntFromHex(val) X-Ref |
No description |
isOnePointZero(n) X-Ref |
No description |
isPercentage(n) X-Ref |
No description |
pad2(c) X-Ref |
No description |
convertToPercentage(n) X-Ref |
No description |
convertDecimalToHex(d) X-Ref |
No description |
convertHexToDecimal(h) X-Ref |
No description |
isValidCSSUnit(color) X-Ref |
No description |
stringInputToObject(color) X-Ref |
No description |
validateWCAG2Parms(parms) X-Ref |
No description |
memize( fn, options ) X-Ref |
Accepts a function to be memoized, and returns a new memoized function, with optional options. param: {F} fn Function to memoize. param: {MemizeOptions} [options] Options object. return: {F & MemizeMemoizedFunction} Memoized function. |
memoized( ) X-Ref |
No description |
_extends() X-Ref |
No description |
Generated: Wed Apr 14 01:00:05 2021 | Cross-referenced by PHPXref 0.7.1 |