Socket
Socket
Sign inDemoInstall

kleinsendelbach-website-library

Package Overview
Dependencies
1
Maintainers
1
Versions
99
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    kleinsendelbach-website-library

Setup the following services, e.g. in the `AppComponent` constructor: - `AuthenticationService` - `EnvironmentService` - `FirebaseApiService` - `LinkService` - `DeviceTypeService` - `StyleConfigService` - `RecaptchaVerificationService` - `AnalyticsService


Version published
Weekly downloads
100
increased by1900%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

Setup

Setup the following services, e.g. in the AppComponent constructor:

  • AuthenticationService
  • EnvironmentService
  • FirebaseApiService
  • LinkService
  • DeviceTypeService
  • StyleConfigService
  • RecaptchaVerificationService
  • AnalyticsService

and

@HostListener('window:resize') public onResize() {
    this.deviceType.windowResized();
}

Copy assets folder

Add the following to your angular.json assets array:

{
    "input": "node_modules/kleinsendelbach-website-library/assets",
    "glob": "**/*",
    "output": "assets"
}

Set styles

Add node_modules/angular-calendar/css/angular-calendar.css to your angular.json styles array.

Setup app config

Add the following to your app.config.ts providers array:

importProvidersFrom(
    CalendarModule.forRoot({
        provide: DateAdapter,
        useFactory: adapterFactory
    }),
    AngularFireModule.initializeApp(YOUR_FIREBASE_OPTIONS),
    RecaptchaV3Module
),
{ provide: REGION, useValue: '<YOUR_FUNCTIONS_REGION>' },
{ provide: PERSISTENCE, useValue: '<AUTHENTICATION_PERSISTENCE (none, local, session)>' },
{ provide: RECAPTCHA_V3_SITE_KEY, useValue: '<YOUR_RECAPTCHA_SITE_KEY>' }

Add the following to your app.config.server.ts providers array:

{ provide: WindowService, userClass: ServerWindowService }
``

FAQs

Last updated on 27 Dec 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc