Because of the characteristics of the platforms primarily targeted by React Facet, only a subset of HTML attributes and event handlers is supported by the components already included in the packages.
children: works as React children. In the
fast-*Components, the type is set to
innerRefin the case of DOM Components)
dangerouslySetInnerHTML: only for
styleobject itself cannot be a
Facet, but each of the properties of the object can either be a
Facetor a plain value.
As a reminder: these events are different than the ones supported by React DOM, since the synthetic events and other cross-browser and usability features have been stripped away to make the library leaner. This is possible because they are not necessary in the target platforms.
Instead, these events address the native events in the DOM directly, as implemented in modern browsers.
onClick: (MouseEvent) =>
onMouseDown: (MouseEvent) =>
onMouseUp: (MouseEvent) =>
onTouchStart: (MouseEvent) =>
onTouchMove: (MouseEvent) =>
onTouchEnd: (MouseEvent) =>
onMouseEnter: (MouseEvent) =>
onMouseLeave: (MouseEvent) =>
onKeyPress: (KeyboardEvent) =>
onKeyDown: (KeyboardEvent) =>
onKeyUp: (KeyboardEvent) =>