PHP 7.4.33
Preview: UIManagerProperties.js Size: 1.96 KB
/var/www/uibuilder.cmshelp.dk/httpdocs/node_modules/react-native/Libraries/ReactNative/UIManagerProperties.js
/**
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 *
 * @flow strict
 * @format
 */

'use strict';

/**
 * The list of non-ViewManager related UIManager properties.
 *
 * In an effort to improve startup performance by lazily loading view managers,
 * the interface to access view managers will change from
 * UIManager['viewManagerName'] to UIManager.getViewManagerConfig('viewManagerName').
 * By using a function call instead of a property access, the UIManager will
 * be able to initialize and load the required view manager from native
 * synchronously. All of React Native's core components have been updated to
 * use getViewManagerConfig(). For the next few releases, any usage of
 * UIManager['viewManagerName'] will result in a warning. Because React Native
 * does not support Proxy objects, a view manager access is implied if any of
 * UIManager's properties that are not one of the properties below is being
 * accessed. Once UIManager property accesses for view managers has been fully
 * deprecated, this file will also be removed.
 */
const UIManagerProperties: $ReadOnlyArray<string> = [
  'clearJSResponder',
  'configureNextLayoutAnimation',
  'createView',
  'dispatchViewManagerCommand',
  'findSubviewIn',
  'getConstantsForViewManager',
  'getDefaultEventTypes',
  'manageChildren',
  'measure',
  'measureInWindow',
  'measureLayout',
  'measureLayoutRelativeToParent',
  'removeRootView',
  'sendAccessibilityEvent',
  'setChildren',
  'setJSResponder',
  'setLayoutAnimationEnabledExperimental',
  'updateView',
  'viewIsDescendantOf',
  'LazyViewManagersEnabled',
  'ViewManagerNames',
  'StyleConstants',
  'AccessibilityEventTypes',
  'UIView',
  'getViewManagerConfig',
  'hasViewManagerConfig',
  'blur',
  'focus',
  'genericBubblingEventTypes',
  'genericDirectEventTypes',
  'lazilyLoadView',
];

module.exports = UIManagerProperties;

Directory Contents

Dirs: 1 × Files: 30
Name Size Perms Modified Actions
- drwxr-xr-x 2025-03-28 11:04:42
Edit Download
6.15 KB lrw-r--r-- 2025-03-28 11:04:42
Edit Download
1.12 KB lrw-r--r-- 2025-03-28 11:04:42
Edit Download
812 B lrw-r--r-- 2025-03-28 11:04:42
Edit Download
3.47 KB lrw-r--r-- 2025-03-28 11:04:43
Edit Download
10.67 KB lrw-r--r-- 2025-03-28 11:04:42
Edit Download
12.37 KB lrw-r--r-- 2025-03-28 11:04:42
Edit Download
805 B lrw-r--r-- 2025-03-28 11:04:42
Edit Download
4.24 KB lrw-r--r-- 2025-03-28 11:04:42
Edit Download
873 B lrw-r--r-- 2025-03-28 11:04:42
Edit Download
6.01 KB lrw-r--r-- 2025-03-28 11:04:42
Edit Download
286 B lrw-r--r-- 2025-03-28 11:04:42
Edit Download
762 B lrw-r--r-- 2025-03-28 11:04:43
Edit Download
1.36 KB lrw-r--r-- 2025-03-28 11:04:42
Edit Download
446 B lrw-r--r-- 2025-03-28 11:04:42
Edit Download
406 B lrw-r--r-- 2025-03-28 11:04:42
Edit Download
404 B lrw-r--r-- 2025-03-28 11:04:42
Edit Download
5.96 KB lrw-r--r-- 2025-03-28 11:04:42
Edit Download
963 B lrw-r--r-- 2025-03-28 11:04:42
Edit Download
1.65 KB lrw-r--r-- 2025-03-28 11:04:42
Edit Download
3.29 KB lrw-r--r-- 2025-03-28 11:04:42
Edit Download
4.31 KB lrw-r--r-- 2025-03-28 11:04:42
Edit Download
442 B lrw-r--r-- 2025-03-28 11:04:43
Edit Download
899 B lrw-r--r-- 2025-03-28 11:04:42
Edit Download
833 B lrw-r--r-- 2025-03-28 11:04:43
Edit Download
1.02 KB lrw-r--r-- 2025-03-28 11:04:42
Edit Download
327 B lrw-r--r-- 2025-03-28 11:04:43
Edit Download
593 B lrw-r--r-- 2025-03-28 11:04:42
Edit Download
3.36 KB lrw-r--r-- 2025-03-28 11:04:43
Edit Download
5.38 KB lrw-r--r-- 2025-03-28 11:04:42
Edit Download
1.96 KB lrw-r--r-- 2025-03-28 11:04:42
Edit Download
If ZipArchive is unavailable, a .tar will be created (no compression).