• Preparing search index...
  • The search index is not available
@deep-foundation/capacitor-motion
  • @deep-foundation/capacitor-motion
  • WithOrientationSync

Function WithOrientationSync

  • WithOrientationSync(options): undefined | Element
  • A component wrapper for useOrientationSync

    Parameters

    • options: WithOrientationSyncOptions

    Returns undefined | Element

    Remarks

    Render this component when WithOrientationSyncOptions.deep and WithOrientationSyncOptions.deviceLinkId are ready

    Example

    function MyComponent(deep, deviceLinkId) {
    return deep.linkId && deviceLinkId ?
    <WithOrientationSync deep={deep} deviceLinkId={deviceLinkId} /> :
    null;
    }
    • Defined in src/react/components/with-orientation-sync.ts:19

Settings

Member Visibility

Theme

@deep-foundation/capacitor-motion
  • Loading...

Generated using TypeDoc