1 |
|
2 |
|
3 | export const NO_RENDER = 0;
|
4 | export const SYNC_RENDER = 1;
|
5 | export const FORCE_RENDER = 2;
|
6 | export const ASYNC_RENDER = 3;
|
7 |
|
8 | export const EMPTY = {};
|
9 |
|
10 | export const ATTR_KEY = typeof Symbol!=='undefined' ? Symbol.for('preactattr') : '__preactattr_';
|
11 |
|
12 |
|
13 | export const NON_DIMENSION_PROPS = {
|
14 | boxFlex:1, boxFlexGroup:1, columnCount:1, fillOpacity:1, flex:1, flexGrow:1,
|
15 | flexPositive:1, flexShrink:1, flexNegative:1, fontWeight:1, lineClamp:1, lineHeight:1,
|
16 | opacity:1, order:1, orphans:1, strokeOpacity:1, widows:1, zIndex:1, zoom:1
|
17 | };
|
18 |
|
19 |
|
20 | export const NON_BUBBLING_EVENTS = { blur:1, error:1, focus:1, load:1, resize:1, scroll:1 };
|