#@blotch/angular-lynx
Every export of the AngularLynx runtime, grouped by what it's for, with a link to its reference. Install it with ng add @blotch/angular-lynx.
import {
bootstrapApplication,
provideRenderer,
provideRouter,
LYNX_ELEMENTS,
} from '@blotch/angular-lynx';#App setup
| Export | Kind | Reference |
|---|---|---|
bootstrapApplication | Function | Bootstrap |
provideRenderer | Function | Bootstrap |
loadLazyBundle | Function | Bootstrap |
provideLocale | Function | Locale |
getLynxAppLocale | Function | Locale |
registerDataProcessors | Function | Host data |
#Routing
| Export | Kind | Reference |
|---|---|---|
provideRouter | Function | Routing |
provideDeepLinkRoute | Function | Routing |
DeepLink, DeepLinkRoute | Types | Routing |
LynxRouterLinkActive | Directive | Routing |
LynxStackOutlet | Component | Stack Outlet |
StackAnimation, StackBottomBarDefault | Types | Stack Outlet |
StackNavigationInfo | Type | Stack Outlet |
LynxStackPage | Class | Stack Outlet |
LynxStackChrome | Service | Stack Outlet |
StackBarMotion, StackBottomBar | Types | Stack Outlet |
LynxStackBottomBar | Directive | Stack Outlet |
LynxTabOutlet | Component | Tab Outlet |
LynxTabPage | Class | Tab Outlet |
LynxLocationStrategy | Class | Location |
LynxPlatformLocation | Class | Location |
LynxRouteReuseStrategy | Class | Location |
#Elements and forms
| Export | Kind | Reference |
|---|---|---|
LYNX_ELEMENTS | Constant | Elements |
LynxView, LynxText, LynxInlineTruncation, LynxImage | Directives | Elements |
LynxScrollView, LynxList, LynxListItem | Directives | Elements |
LynxListFor | Directive | <list> |
LynxListForContext, LynxListForOf, LynxListItemAttributes | Types | <list> |
LynxBlock, LynxIf, LynxFor, LynxFrame | Directives | Elements |
LynxInput, LynxTextarea | Directives | Elements |
LynxOverlay, LynxRefresh, LynxRefreshHeader | Directives | Elements |
LynxScrollCoordinator, LynxScrollCoordinatorHeader, LynxScrollCoordinatorSlot, LynxScrollCoordinatorSlotDrag, LynxScrollCoordinatorToolbar | Directives | Elements |
LynxSvg, LynxViewPager, LynxViewPagerItem | Directives | Elements |
LynxBlurView, LynxVideo, LynxWebView, LynxCoverView, LynxTitleBarView, LynxAppleSignInButton | Directives | Elements |
LynxCanvasElement, LynxCanvasRenderingContext2D, LynxWebGL2RenderingContext, LynxImageBitmapRenderingContext | Types | <canvas> |
LYNX_FORM_ACCESSORS | Constant | Form accessors |
LynxInputValueAccessor, LynxTextareaValueAccessor, LynxFieldValueAccessor | Directives | Form accessors |
LynxFieldValue, LynxFieldParseError | Types | Form accessors |
BaseLynxElement | Type | Elements |
LynxDOMRect | Type | The JavaScript environment |
LynxElementAttributes | Directive | Host and native elements |
LynxTagElement | Type | Host and native elements |
registerHostElement | Function | Host and native elements |
registerNativeElement | Function | Host and native elements |
HostElementTag | Type | Host and native elements |
LynxEvent, LynxEventTarget, WithPrefixes | Types | Element events |
LynxPointerEvent | Type | Element events |
ImageLoadDetail, InputDetail, ScrollDetail and every other event's …Detail type, ListAttachedCell, ListItemInfo | Types | Element events |
LynxAccessibilityTraits | Directive | Accessibility |
AccessibilityTrait, AccessibilityTraitStates | Types | Accessibility |
#Animation
| Export | Kind | Reference |
|---|---|---|
LynxAnimation | Class | Animation |
LynxTransition | Component | Animation |
LynxTransitionGroup | Component | Animation |
LynxAnimationOptions | Type | Animation |
BaseLynxAnimation | Type | Animation |
afterFrame | Function | Animation |
provideAnimateEnterLeaveDisabled | Function | Animation |
#Gestures
| Export | Kind | Reference |
|---|---|---|
LynxGestureDetector | Directive | Gestures |
Gesture, ComposedGesture | Object, class | Gestures |
BaseGesture, ContinuousGesture, GestureType | Classes, enum | Gestures |
TapGesture, PanGesture, FlingGesture, LongPressGesture, PinchGesture, RotationGesture | Classes | Gesture types |
FlingDirection | Enum | Gesture types |
GestureEvent, TapGestureEvent, PanGestureEvent, FlingGestureEvent, LongPressGestureEvent, PinchGestureEvent, RotationGestureEvent | Types | Gesture types |
PanOffset | Type | Gesture types |
GestureState, GestureStateManager | Enum, class | Gesture lifecycle |
GestureCallback, GestureCallbackWithState | Types | Gesture lifecycle |
#Main-thread scripts
| Export | Kind | Reference |
|---|---|---|
mainThreadFn, MainThreadFnHandle | Function, type | mainThreadFn |
LynxMainThreadEvent | Directive | LynxMainThreadEvent |
MainThreadElement, MainThread | Class, namespace | LynxMainThreadEvent |
MainThreadRef, createMainThreadRef | Class, function | MainThreadRef |
LynxMainThread | Service | LynxMainThread |
backgroundFn, BackgroundFnHandle | Function, type | backgroundFn |
#UI services
| Export | Kind | Reference |
|---|---|---|
LynxAccessibility | Service | Accessibility |
LynxAccessibilitySettings | Service | Accessibility |
ACCESSIBILITY_WORDS, provideAccessibilityWords, AccessibilityWords | Token, function, type | Accessibility |
LynxFont | Service | Fonts |
LynxFontFaceConfig, LynxFontStatus, LynxFontEntry | Types | Fonts |
LynxPortal, PortalRef | Service, class | Portal |
PortalConfig | Type | Portal |
LynxExposure, LynxGlobalExposure | Directive, service | Exposure |
ExposureEventDetail, GlobalExposureEvent, ObserverFrameRateOptions | Types | Exposure |
LynxTextMeasure | Service | Text measure |
#Device
The phone's settings and state.
| Export | Kind | Reference |
|---|---|---|
LynxTheme, provideColorScheme | Service, function | Theme |
LynxColorScheme, LynxAppearance | Types | Theme |
DYNAMIC_COLOR_ROLES, DynamicColors, DynamicColorScheme, DynamicColorRole | Constant, types | Theme |
LynxSafeArea | Service | Safe area |
SAFE_AREA_INSET_TOP, SAFE_AREA_INSET_BOTTOM, SAFE_AREA_INSET_LEFT, SAFE_AREA_INSET_RIGHT | Constants | Safe area |
LynxViewport, ViewportOrientation | Service, type | Viewport |
LynxLocale | Service | Locale |
LynxSystemInfo, PlatformType | Service, type | System info |
LynxAppState, LynxAppStateValue | Service, type | App state |
LynxNetwork | Service | Network |
LynxClipboard, ClipboardError, ClipboardErrorCode | Service, class, type | Clipboard |
LynxHaptics, HapticImpactStyle, HapticNotificationType | Service, types | Haptics |
#Hardware
The phone's sensors, radios and camera. Each needs a setting in angular.json: see its page's Turn it on.
| Export | Kind | Reference |
|---|---|---|
LynxMotion, LynxAcceleration, LynxRotationRate, LynxOrientation, LynxHeading, LynxMotionAvailability, LynxMotionOptions, LynxShakeOptions | Service, types | Motion |
LynxBiometrics, BiometricsError, BiometricsAvailability, BiometricsAuthenticateOptions, BiometricsErrorCode, BiometryType | Service, class, types | Biometrics |
LynxBluetooth, BluetoothError, canonicalBluetoothUUID | Service, class, function | Bluetooth |
BluetoothConnection, BluetoothConnectOptions, BluetoothDevice, BluetoothScan, BluetoothScanOptions, BluetoothState, BluetoothErrorCode | Types | Bluetooth |
BluetoothService, BluetoothCharacteristic, BluetoothCharacteristicProperty, BluetoothWriteOptions | Types | Bluetooth |
LynxGeolocation, GeolocationError, GeolocationPosition, GeolocationOptions, GeolocationWatch, GeolocationWatchOptions, GeolocationState, GeolocationAccuracy, GeolocationErrorCode | Service, class, types | Geolocation |
LynxBarcodeScanner, BarcodeScannerError, BARCODE_FORMATS, BarcodeFormat, BarcodeScan, BarcodeScanOptions, BarcodeScannerErrorCode | Service, class, constant, types | Barcode scanner |
LynxNfc, NfcError, NfcTag, NfcRecord, NfcRecordInit, NfcScan, NfcSessionOptions, NfcState, NfcErrorCode | Service, class, types | NFC |
LynxAudioPlayer, AudioPlayerError, AudioTrack, AudioPlayerState, AudioPlayerErrorCode, AudioRemoteCommand, AudioRemoteCommandHandlers, AudioRemoteCommandOptions | Service, class, types | Audio player |
LynxAudioRecorder, AudioRecorderError, AudioRecording, AudioClip, AudioRecordingOptions, AudioRecordingState, MicrophonePermission, AudioRecorderErrorCode | Service, class, types | Audio recorder |
LynxWifi, WifiError, WifiNetwork, WifiJoinOptions, WifiErrorCode | Service, class, types | Wi-Fi |
#Media
Photos, files, contacts and the calendar.
| Export | Kind | Reference |
|---|---|---|
LynxImagePicker, ImagePickerError, ImagePickerOptions, ImagePickerSource, ImagePickerErrorCode, PickedImage | Service, class, types | Image picker |
LynxPhotoLibrary, PhotoLibraryError, PhotoLibraryFile, PhotoLibraryPermission, PhotoLibraryErrorCode | Service, class, types | Photo library |
LynxFilePicker, FilePickerError, FILE_PICKER_MAX_BYTES, FilePickerOptions, FilePickerErrorCode, PickedFile, SaveFile | Service, class, constant, types | File picker |
LynxContacts, ContactsError, Contact, ContactField, ContactSelection, ContactsPermission, ContactsErrorCode, GetContactsOptions, PickContactOptions | Service, class, types | Contacts |
LynxCalendar, CalendarError, CalendarEvent, CalendarSheetResult, CalendarErrorCode | Service, class, types | Calendar |
#Sharing and links
| Export | Kind | Reference |
|---|---|---|
LynxShare, ShareError, ShareData, ShareFile, ShareErrorCode | Service, class, types | Share |
LynxShareTarget, ReceivedShare, ReceivedShareFile, ShareTargetHandler | Service, types | Share target |
LynxLinking, LinkingError, OpenInAppOptions, LinkingErrorCode, LynxLinkHandler | Service, class, types | Linking |
LynxShortcuts, LynxShortcut, LynxShortcutHandler | Service, types | Shortcuts |
#Accounts
Signing in, ratings and ad tracking.
| Export | Kind | Reference |
|---|---|---|
LynxWebAuthSession, WebAuthSessionError, WebAuthSessionOptions, WebAuthSessionErrorCode | Service, class, types | Web auth session |
LynxAppleSignIn, AppleSignInError, AppleSignInOptions, AppleSignInResult, AppleSignInFullName, AppleSignInScope, AppleCredentialState, AppleRealUserStatus, AppleSignInErrorCode | Service, class, types | Sign in with Apple |
LynxStoreReview | Service | Store review |
LynxTracking, TrackingStatus | Service, type | Tracking |
#Host app
What the native app that runs your bundle passes in, and what it asks of the app.
| Export | Kind | Reference |
|---|---|---|
LynxInitData, LynxGlobalData | Services | Host data |
InitData, InitDataRaw, GlobalData, DataProcessorDefinition | Types | Host data |
LynxNativeModule, NativeModuleMap, NativeModuleProxy | Service, types | Native module |
LynxBackButton, LynxBackHandler | Service, type | Back button |
LynxSplashScreen, provideSplashScreen, SplashScreenOptions, SplashScreenHide | Service, function, types | Splash screen |
reportFullyDrawn | Function | reportFullyDrawn |
#Storage and network
| Export | Kind | Reference |
|---|---|---|
LynxLocalStorage, LynxSecureStorage, SecureStorageGetOptions, SecureStorageSetOptions | Services, types | Persistent storage |
LynxSessionStorage, SessionStorageSubscription | Service, type | Session storage |
LynxResourcePrefetch | Service | Resource prefetch |
PrefetchRequest, PrefetchPriority, PrefetchCacheTarget, PrefetchResultDetail, ResourcePrefetchResult, ResourcePrefetchData | Types | Resource prefetch |
provideFetchStreaming, FetchStreaming, FetchStreamingRule | Function, types | Streaming responses |
#Debugging
| Export | Kind | Reference |
|---|---|---|
LynxErrorHandler, LynxLogger | Services | Errors and logging |
LynxDevTools, LynxPerformance, DevToolsStats, LynxTraceOptions | Services, types | DevTools |
#Schematics
The package also ships the ng add and ng generate schematics. See Schematics.
#Related
- API overview: the other packages and the element pages.
- Quick Start
