In-place JS environment
Summary: This change restructures the package to try to remove the JS build step from the inner loop. Instead, we have a single `src` directory that we babel transform when using, then apply the same transform inline during prepublish. At the end, we will be publishing a source directory with Babel transformed TS, JS, and TS declarations. We do a little spring cleaning when doing this. Fixing up some of the folder/file conventions, and removing the non-export-map fallbacks. We cannot remove the need for a native build. Reviewed By: yungsters Differential Revision: D45682153 fbshipit-source-id: ea2dd75c2dd6e3529b1ef6cf6ac6a64a270049a4
This commit is contained in:
committed by
Facebook GitHub Bot
parent
0a6a581936
commit
aa812d0e48
347
javascript/src/generated/YGEnums.d.ts
vendored
Normal file
347
javascript/src/generated/YGEnums.d.ts
vendored
Normal file
@@ -0,0 +1,347 @@
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
|
||||
// @generated by enums.py
|
||||
|
||||
type ALIGN_AUTO = 0 & ['ALIGN']
|
||||
export declare const ALIGN_AUTO: ALIGN_AUTO;
|
||||
|
||||
type ALIGN_FLEX_START = 1 & ['ALIGN']
|
||||
export declare const ALIGN_FLEX_START: ALIGN_FLEX_START;
|
||||
|
||||
type ALIGN_CENTER = 2 & ['ALIGN']
|
||||
export declare const ALIGN_CENTER: ALIGN_CENTER;
|
||||
|
||||
type ALIGN_FLEX_END = 3 & ['ALIGN']
|
||||
export declare const ALIGN_FLEX_END: ALIGN_FLEX_END;
|
||||
|
||||
type ALIGN_STRETCH = 4 & ['ALIGN']
|
||||
export declare const ALIGN_STRETCH: ALIGN_STRETCH;
|
||||
|
||||
type ALIGN_BASELINE = 5 & ['ALIGN']
|
||||
export declare const ALIGN_BASELINE: ALIGN_BASELINE;
|
||||
|
||||
type ALIGN_SPACE_BETWEEN = 6 & ['ALIGN']
|
||||
export declare const ALIGN_SPACE_BETWEEN: ALIGN_SPACE_BETWEEN;
|
||||
|
||||
type ALIGN_SPACE_AROUND = 7 & ['ALIGN']
|
||||
export declare const ALIGN_SPACE_AROUND: ALIGN_SPACE_AROUND;
|
||||
|
||||
|
||||
type DIMENSION_WIDTH = 0 & ['DIMENSION']
|
||||
export declare const DIMENSION_WIDTH: DIMENSION_WIDTH;
|
||||
|
||||
type DIMENSION_HEIGHT = 1 & ['DIMENSION']
|
||||
export declare const DIMENSION_HEIGHT: DIMENSION_HEIGHT;
|
||||
|
||||
|
||||
type DIRECTION_INHERIT = 0 & ['DIRECTION']
|
||||
export declare const DIRECTION_INHERIT: DIRECTION_INHERIT;
|
||||
|
||||
type DIRECTION_LTR = 1 & ['DIRECTION']
|
||||
export declare const DIRECTION_LTR: DIRECTION_LTR;
|
||||
|
||||
type DIRECTION_RTL = 2 & ['DIRECTION']
|
||||
export declare const DIRECTION_RTL: DIRECTION_RTL;
|
||||
|
||||
|
||||
type DISPLAY_FLEX = 0 & ['DISPLAY']
|
||||
export declare const DISPLAY_FLEX: DISPLAY_FLEX;
|
||||
|
||||
type DISPLAY_NONE = 1 & ['DISPLAY']
|
||||
export declare const DISPLAY_NONE: DISPLAY_NONE;
|
||||
|
||||
|
||||
type EDGE_LEFT = 0 & ['EDGE']
|
||||
export declare const EDGE_LEFT: EDGE_LEFT;
|
||||
|
||||
type EDGE_TOP = 1 & ['EDGE']
|
||||
export declare const EDGE_TOP: EDGE_TOP;
|
||||
|
||||
type EDGE_RIGHT = 2 & ['EDGE']
|
||||
export declare const EDGE_RIGHT: EDGE_RIGHT;
|
||||
|
||||
type EDGE_BOTTOM = 3 & ['EDGE']
|
||||
export declare const EDGE_BOTTOM: EDGE_BOTTOM;
|
||||
|
||||
type EDGE_START = 4 & ['EDGE']
|
||||
export declare const EDGE_START: EDGE_START;
|
||||
|
||||
type EDGE_END = 5 & ['EDGE']
|
||||
export declare const EDGE_END: EDGE_END;
|
||||
|
||||
type EDGE_HORIZONTAL = 6 & ['EDGE']
|
||||
export declare const EDGE_HORIZONTAL: EDGE_HORIZONTAL;
|
||||
|
||||
type EDGE_VERTICAL = 7 & ['EDGE']
|
||||
export declare const EDGE_VERTICAL: EDGE_VERTICAL;
|
||||
|
||||
type EDGE_ALL = 8 & ['EDGE']
|
||||
export declare const EDGE_ALL: EDGE_ALL;
|
||||
|
||||
|
||||
type ERRATA_NONE = 0 & ['ERRATA']
|
||||
export declare const ERRATA_NONE: ERRATA_NONE;
|
||||
|
||||
type ERRATA_STRETCH_FLEX_BASIS = 1 & ['ERRATA']
|
||||
export declare const ERRATA_STRETCH_FLEX_BASIS: ERRATA_STRETCH_FLEX_BASIS;
|
||||
|
||||
type ERRATA_ALL = 2147483647 & ['ERRATA']
|
||||
export declare const ERRATA_ALL: ERRATA_ALL;
|
||||
|
||||
type ERRATA_CLASSIC = 2147483646 & ['ERRATA']
|
||||
export declare const ERRATA_CLASSIC: ERRATA_CLASSIC;
|
||||
|
||||
|
||||
type EXPERIMENTAL_FEATURE_WEB_FLEX_BASIS = 0 & ['EXPERIMENTAL_FEATURE']
|
||||
export declare const EXPERIMENTAL_FEATURE_WEB_FLEX_BASIS: EXPERIMENTAL_FEATURE_WEB_FLEX_BASIS;
|
||||
|
||||
type EXPERIMENTAL_FEATURE_ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE = 1 & ['EXPERIMENTAL_FEATURE']
|
||||
export declare const EXPERIMENTAL_FEATURE_ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE: EXPERIMENTAL_FEATURE_ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE;
|
||||
|
||||
type EXPERIMENTAL_FEATURE_FIX_ABSOLUTE_TRAILING_COLUMN_MARGIN = 2 & ['EXPERIMENTAL_FEATURE']
|
||||
export declare const EXPERIMENTAL_FEATURE_FIX_ABSOLUTE_TRAILING_COLUMN_MARGIN: EXPERIMENTAL_FEATURE_FIX_ABSOLUTE_TRAILING_COLUMN_MARGIN;
|
||||
|
||||
|
||||
type FLEX_DIRECTION_COLUMN = 0 & ['FLEX_DIRECTION']
|
||||
export declare const FLEX_DIRECTION_COLUMN: FLEX_DIRECTION_COLUMN;
|
||||
|
||||
type FLEX_DIRECTION_COLUMN_REVERSE = 1 & ['FLEX_DIRECTION']
|
||||
export declare const FLEX_DIRECTION_COLUMN_REVERSE: FLEX_DIRECTION_COLUMN_REVERSE;
|
||||
|
||||
type FLEX_DIRECTION_ROW = 2 & ['FLEX_DIRECTION']
|
||||
export declare const FLEX_DIRECTION_ROW: FLEX_DIRECTION_ROW;
|
||||
|
||||
type FLEX_DIRECTION_ROW_REVERSE = 3 & ['FLEX_DIRECTION']
|
||||
export declare const FLEX_DIRECTION_ROW_REVERSE: FLEX_DIRECTION_ROW_REVERSE;
|
||||
|
||||
|
||||
type GUTTER_COLUMN = 0 & ['GUTTER']
|
||||
export declare const GUTTER_COLUMN: GUTTER_COLUMN;
|
||||
|
||||
type GUTTER_ROW = 1 & ['GUTTER']
|
||||
export declare const GUTTER_ROW: GUTTER_ROW;
|
||||
|
||||
type GUTTER_ALL = 2 & ['GUTTER']
|
||||
export declare const GUTTER_ALL: GUTTER_ALL;
|
||||
|
||||
|
||||
type JUSTIFY_FLEX_START = 0 & ['JUSTIFY']
|
||||
export declare const JUSTIFY_FLEX_START: JUSTIFY_FLEX_START;
|
||||
|
||||
type JUSTIFY_CENTER = 1 & ['JUSTIFY']
|
||||
export declare const JUSTIFY_CENTER: JUSTIFY_CENTER;
|
||||
|
||||
type JUSTIFY_FLEX_END = 2 & ['JUSTIFY']
|
||||
export declare const JUSTIFY_FLEX_END: JUSTIFY_FLEX_END;
|
||||
|
||||
type JUSTIFY_SPACE_BETWEEN = 3 & ['JUSTIFY']
|
||||
export declare const JUSTIFY_SPACE_BETWEEN: JUSTIFY_SPACE_BETWEEN;
|
||||
|
||||
type JUSTIFY_SPACE_AROUND = 4 & ['JUSTIFY']
|
||||
export declare const JUSTIFY_SPACE_AROUND: JUSTIFY_SPACE_AROUND;
|
||||
|
||||
type JUSTIFY_SPACE_EVENLY = 5 & ['JUSTIFY']
|
||||
export declare const JUSTIFY_SPACE_EVENLY: JUSTIFY_SPACE_EVENLY;
|
||||
|
||||
|
||||
type LOG_LEVEL_ERROR = 0 & ['LOG_LEVEL']
|
||||
export declare const LOG_LEVEL_ERROR: LOG_LEVEL_ERROR;
|
||||
|
||||
type LOG_LEVEL_WARN = 1 & ['LOG_LEVEL']
|
||||
export declare const LOG_LEVEL_WARN: LOG_LEVEL_WARN;
|
||||
|
||||
type LOG_LEVEL_INFO = 2 & ['LOG_LEVEL']
|
||||
export declare const LOG_LEVEL_INFO: LOG_LEVEL_INFO;
|
||||
|
||||
type LOG_LEVEL_DEBUG = 3 & ['LOG_LEVEL']
|
||||
export declare const LOG_LEVEL_DEBUG: LOG_LEVEL_DEBUG;
|
||||
|
||||
type LOG_LEVEL_VERBOSE = 4 & ['LOG_LEVEL']
|
||||
export declare const LOG_LEVEL_VERBOSE: LOG_LEVEL_VERBOSE;
|
||||
|
||||
type LOG_LEVEL_FATAL = 5 & ['LOG_LEVEL']
|
||||
export declare const LOG_LEVEL_FATAL: LOG_LEVEL_FATAL;
|
||||
|
||||
|
||||
type MEASURE_MODE_UNDEFINED = 0 & ['MEASURE_MODE']
|
||||
export declare const MEASURE_MODE_UNDEFINED: MEASURE_MODE_UNDEFINED;
|
||||
|
||||
type MEASURE_MODE_EXACTLY = 1 & ['MEASURE_MODE']
|
||||
export declare const MEASURE_MODE_EXACTLY: MEASURE_MODE_EXACTLY;
|
||||
|
||||
type MEASURE_MODE_AT_MOST = 2 & ['MEASURE_MODE']
|
||||
export declare const MEASURE_MODE_AT_MOST: MEASURE_MODE_AT_MOST;
|
||||
|
||||
|
||||
type NODE_TYPE_DEFAULT = 0 & ['NODE_TYPE']
|
||||
export declare const NODE_TYPE_DEFAULT: NODE_TYPE_DEFAULT;
|
||||
|
||||
type NODE_TYPE_TEXT = 1 & ['NODE_TYPE']
|
||||
export declare const NODE_TYPE_TEXT: NODE_TYPE_TEXT;
|
||||
|
||||
|
||||
type OVERFLOW_VISIBLE = 0 & ['OVERFLOW']
|
||||
export declare const OVERFLOW_VISIBLE: OVERFLOW_VISIBLE;
|
||||
|
||||
type OVERFLOW_HIDDEN = 1 & ['OVERFLOW']
|
||||
export declare const OVERFLOW_HIDDEN: OVERFLOW_HIDDEN;
|
||||
|
||||
type OVERFLOW_SCROLL = 2 & ['OVERFLOW']
|
||||
export declare const OVERFLOW_SCROLL: OVERFLOW_SCROLL;
|
||||
|
||||
|
||||
type POSITION_TYPE_STATIC = 0 & ['POSITION_TYPE']
|
||||
export declare const POSITION_TYPE_STATIC: POSITION_TYPE_STATIC;
|
||||
|
||||
type POSITION_TYPE_RELATIVE = 1 & ['POSITION_TYPE']
|
||||
export declare const POSITION_TYPE_RELATIVE: POSITION_TYPE_RELATIVE;
|
||||
|
||||
type POSITION_TYPE_ABSOLUTE = 2 & ['POSITION_TYPE']
|
||||
export declare const POSITION_TYPE_ABSOLUTE: POSITION_TYPE_ABSOLUTE;
|
||||
|
||||
|
||||
type PRINT_OPTIONS_LAYOUT = 1 & ['PRINT_OPTIONS']
|
||||
export declare const PRINT_OPTIONS_LAYOUT: PRINT_OPTIONS_LAYOUT;
|
||||
|
||||
type PRINT_OPTIONS_STYLE = 2 & ['PRINT_OPTIONS']
|
||||
export declare const PRINT_OPTIONS_STYLE: PRINT_OPTIONS_STYLE;
|
||||
|
||||
type PRINT_OPTIONS_CHILDREN = 4 & ['PRINT_OPTIONS']
|
||||
export declare const PRINT_OPTIONS_CHILDREN: PRINT_OPTIONS_CHILDREN;
|
||||
|
||||
|
||||
type UNIT_UNDEFINED = 0 & ['UNIT']
|
||||
export declare const UNIT_UNDEFINED: UNIT_UNDEFINED;
|
||||
|
||||
type UNIT_POINT = 1 & ['UNIT']
|
||||
export declare const UNIT_POINT: UNIT_POINT;
|
||||
|
||||
type UNIT_PERCENT = 2 & ['UNIT']
|
||||
export declare const UNIT_PERCENT: UNIT_PERCENT;
|
||||
|
||||
type UNIT_AUTO = 3 & ['UNIT']
|
||||
export declare const UNIT_AUTO: UNIT_AUTO;
|
||||
|
||||
|
||||
type WRAP_NO_WRAP = 0 & ['WRAP']
|
||||
export declare const WRAP_NO_WRAP: WRAP_NO_WRAP;
|
||||
|
||||
type WRAP_WRAP = 1 & ['WRAP']
|
||||
export declare const WRAP_WRAP: WRAP_WRAP;
|
||||
|
||||
type WRAP_WRAP_REVERSE = 2 & ['WRAP']
|
||||
export declare const WRAP_WRAP_REVERSE: WRAP_WRAP_REVERSE;
|
||||
|
||||
|
||||
export type Align =
|
||||
| typeof ALIGN_AUTO
|
||||
| typeof ALIGN_FLEX_START
|
||||
| typeof ALIGN_CENTER
|
||||
| typeof ALIGN_FLEX_END
|
||||
| typeof ALIGN_STRETCH
|
||||
| typeof ALIGN_BASELINE
|
||||
| typeof ALIGN_SPACE_BETWEEN
|
||||
| typeof ALIGN_SPACE_AROUND;
|
||||
|
||||
export type Dimension =
|
||||
| typeof DIMENSION_WIDTH
|
||||
| typeof DIMENSION_HEIGHT;
|
||||
|
||||
export type Direction =
|
||||
| typeof DIRECTION_INHERIT
|
||||
| typeof DIRECTION_LTR
|
||||
| typeof DIRECTION_RTL;
|
||||
|
||||
export type Display =
|
||||
| typeof DISPLAY_FLEX
|
||||
| typeof DISPLAY_NONE;
|
||||
|
||||
export type Edge =
|
||||
| typeof EDGE_LEFT
|
||||
| typeof EDGE_TOP
|
||||
| typeof EDGE_RIGHT
|
||||
| typeof EDGE_BOTTOM
|
||||
| typeof EDGE_START
|
||||
| typeof EDGE_END
|
||||
| typeof EDGE_HORIZONTAL
|
||||
| typeof EDGE_VERTICAL
|
||||
| typeof EDGE_ALL;
|
||||
|
||||
export type Errata =
|
||||
| typeof ERRATA_NONE
|
||||
| typeof ERRATA_STRETCH_FLEX_BASIS
|
||||
| typeof ERRATA_ALL
|
||||
| typeof ERRATA_CLASSIC;
|
||||
|
||||
export type ExperimentalFeature =
|
||||
| typeof EXPERIMENTAL_FEATURE_WEB_FLEX_BASIS
|
||||
| typeof EXPERIMENTAL_FEATURE_ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE
|
||||
| typeof EXPERIMENTAL_FEATURE_FIX_ABSOLUTE_TRAILING_COLUMN_MARGIN;
|
||||
|
||||
export type FlexDirection =
|
||||
| typeof FLEX_DIRECTION_COLUMN
|
||||
| typeof FLEX_DIRECTION_COLUMN_REVERSE
|
||||
| typeof FLEX_DIRECTION_ROW
|
||||
| typeof FLEX_DIRECTION_ROW_REVERSE;
|
||||
|
||||
export type Gutter =
|
||||
| typeof GUTTER_COLUMN
|
||||
| typeof GUTTER_ROW
|
||||
| typeof GUTTER_ALL;
|
||||
|
||||
export type Justify =
|
||||
| typeof JUSTIFY_FLEX_START
|
||||
| typeof JUSTIFY_CENTER
|
||||
| typeof JUSTIFY_FLEX_END
|
||||
| typeof JUSTIFY_SPACE_BETWEEN
|
||||
| typeof JUSTIFY_SPACE_AROUND
|
||||
| typeof JUSTIFY_SPACE_EVENLY;
|
||||
|
||||
export type LogLevel =
|
||||
| typeof LOG_LEVEL_ERROR
|
||||
| typeof LOG_LEVEL_WARN
|
||||
| typeof LOG_LEVEL_INFO
|
||||
| typeof LOG_LEVEL_DEBUG
|
||||
| typeof LOG_LEVEL_VERBOSE
|
||||
| typeof LOG_LEVEL_FATAL;
|
||||
|
||||
export type MeasureMode =
|
||||
| typeof MEASURE_MODE_UNDEFINED
|
||||
| typeof MEASURE_MODE_EXACTLY
|
||||
| typeof MEASURE_MODE_AT_MOST;
|
||||
|
||||
export type NodeType =
|
||||
| typeof NODE_TYPE_DEFAULT
|
||||
| typeof NODE_TYPE_TEXT;
|
||||
|
||||
export type Overflow =
|
||||
| typeof OVERFLOW_VISIBLE
|
||||
| typeof OVERFLOW_HIDDEN
|
||||
| typeof OVERFLOW_SCROLL;
|
||||
|
||||
export type PositionType =
|
||||
| typeof POSITION_TYPE_STATIC
|
||||
| typeof POSITION_TYPE_RELATIVE
|
||||
| typeof POSITION_TYPE_ABSOLUTE;
|
||||
|
||||
export type PrintOptions =
|
||||
| typeof PRINT_OPTIONS_LAYOUT
|
||||
| typeof PRINT_OPTIONS_STYLE
|
||||
| typeof PRINT_OPTIONS_CHILDREN;
|
||||
|
||||
export type Unit =
|
||||
| typeof UNIT_UNDEFINED
|
||||
| typeof UNIT_POINT
|
||||
| typeof UNIT_PERCENT
|
||||
| typeof UNIT_AUTO;
|
||||
|
||||
export type Wrap =
|
||||
| typeof WRAP_NO_WRAP
|
||||
| typeof WRAP_WRAP
|
||||
| typeof WRAP_WRAP_REVERSE;
|
||||
|
97
javascript/src/generated/YGEnums.js
Normal file
97
javascript/src/generated/YGEnums.js
Normal file
@@ -0,0 +1,97 @@
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
|
||||
// @generated by enums.py
|
||||
|
||||
exports.ALIGN_AUTO = 0;
|
||||
exports.ALIGN_FLEX_START = 1;
|
||||
exports.ALIGN_CENTER = 2;
|
||||
exports.ALIGN_FLEX_END = 3;
|
||||
exports.ALIGN_STRETCH = 4;
|
||||
exports.ALIGN_BASELINE = 5;
|
||||
exports.ALIGN_SPACE_BETWEEN = 6;
|
||||
exports.ALIGN_SPACE_AROUND = 7;
|
||||
|
||||
exports.DIMENSION_WIDTH = 0;
|
||||
exports.DIMENSION_HEIGHT = 1;
|
||||
|
||||
exports.DIRECTION_INHERIT = 0;
|
||||
exports.DIRECTION_LTR = 1;
|
||||
exports.DIRECTION_RTL = 2;
|
||||
|
||||
exports.DISPLAY_FLEX = 0;
|
||||
exports.DISPLAY_NONE = 1;
|
||||
|
||||
exports.EDGE_LEFT = 0;
|
||||
exports.EDGE_TOP = 1;
|
||||
exports.EDGE_RIGHT = 2;
|
||||
exports.EDGE_BOTTOM = 3;
|
||||
exports.EDGE_START = 4;
|
||||
exports.EDGE_END = 5;
|
||||
exports.EDGE_HORIZONTAL = 6;
|
||||
exports.EDGE_VERTICAL = 7;
|
||||
exports.EDGE_ALL = 8;
|
||||
|
||||
exports.ERRATA_NONE = 0;
|
||||
exports.ERRATA_STRETCH_FLEX_BASIS = 1;
|
||||
exports.ERRATA_ALL = 2147483647;
|
||||
exports.ERRATA_CLASSIC = 2147483646;
|
||||
|
||||
exports.EXPERIMENTAL_FEATURE_WEB_FLEX_BASIS = 0;
|
||||
exports.EXPERIMENTAL_FEATURE_ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE = 1;
|
||||
exports.EXPERIMENTAL_FEATURE_FIX_ABSOLUTE_TRAILING_COLUMN_MARGIN = 2;
|
||||
|
||||
exports.FLEX_DIRECTION_COLUMN = 0;
|
||||
exports.FLEX_DIRECTION_COLUMN_REVERSE = 1;
|
||||
exports.FLEX_DIRECTION_ROW = 2;
|
||||
exports.FLEX_DIRECTION_ROW_REVERSE = 3;
|
||||
|
||||
exports.GUTTER_COLUMN = 0;
|
||||
exports.GUTTER_ROW = 1;
|
||||
exports.GUTTER_ALL = 2;
|
||||
|
||||
exports.JUSTIFY_FLEX_START = 0;
|
||||
exports.JUSTIFY_CENTER = 1;
|
||||
exports.JUSTIFY_FLEX_END = 2;
|
||||
exports.JUSTIFY_SPACE_BETWEEN = 3;
|
||||
exports.JUSTIFY_SPACE_AROUND = 4;
|
||||
exports.JUSTIFY_SPACE_EVENLY = 5;
|
||||
|
||||
exports.LOG_LEVEL_ERROR = 0;
|
||||
exports.LOG_LEVEL_WARN = 1;
|
||||
exports.LOG_LEVEL_INFO = 2;
|
||||
exports.LOG_LEVEL_DEBUG = 3;
|
||||
exports.LOG_LEVEL_VERBOSE = 4;
|
||||
exports.LOG_LEVEL_FATAL = 5;
|
||||
|
||||
exports.MEASURE_MODE_UNDEFINED = 0;
|
||||
exports.MEASURE_MODE_EXACTLY = 1;
|
||||
exports.MEASURE_MODE_AT_MOST = 2;
|
||||
|
||||
exports.NODE_TYPE_DEFAULT = 0;
|
||||
exports.NODE_TYPE_TEXT = 1;
|
||||
|
||||
exports.OVERFLOW_VISIBLE = 0;
|
||||
exports.OVERFLOW_HIDDEN = 1;
|
||||
exports.OVERFLOW_SCROLL = 2;
|
||||
|
||||
exports.POSITION_TYPE_STATIC = 0;
|
||||
exports.POSITION_TYPE_RELATIVE = 1;
|
||||
exports.POSITION_TYPE_ABSOLUTE = 2;
|
||||
|
||||
exports.PRINT_OPTIONS_LAYOUT = 1;
|
||||
exports.PRINT_OPTIONS_STYLE = 2;
|
||||
exports.PRINT_OPTIONS_CHILDREN = 4;
|
||||
|
||||
exports.UNIT_UNDEFINED = 0;
|
||||
exports.UNIT_POINT = 1;
|
||||
exports.UNIT_PERCENT = 2;
|
||||
exports.UNIT_AUTO = 3;
|
||||
|
||||
exports.WRAP_NO_WRAP = 0;
|
||||
exports.WRAP_WRAP = 1;
|
||||
exports.WRAP_WRAP_REVERSE = 2;
|
Reference in New Issue
Block a user