You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

ods-components-angular

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

ods-components-angular

0.11.1
unpublished
latest
npmnpm
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

ods-components-angular

Build Status

test stage production

Development scripts

Running the application in development mode using storybook

yarn workspace @zeiss/ods-components-angular start:dev

Running the linters

yarn workspace @zeiss/ods-components-angular lint

Running the tests

yarn workspace @zeiss/ods-components-angular test

Generate artifact build

yarn workspace @zeiss/ods-components-angular build

Create storybook demo build

yarn workspace @zeiss/ods-components-angular build:demo

Installation

The component library has to be consumed via the SIP feed (Connect to Azure Artifacts).

Preparations

Install the @zeiss/ods-foundations package as described in ods-foundations/README.md.

npm install @zeiss/ods-components-angular

OR

yarn add @zeiss/ods-components-angular

Usage

Then import the

// app.module.ts
import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { NgOdsModule } from '@zeiss/ods-components-angular'; // ← ADD this
import { AppRoutingModule } from './app-routing.module';
import { AppComponent } from './app.component';
import { ReactiveFormsModule } from '@angular/forms';

@NgModule({
  declarations: [AppComponent],
  imports: [
    BrowserModule,
    AppRoutingModule,
    ReactiveFormsModule,
    NgOdsModule, // ← ADD this
  ],
  providers: [],
  bootstrap: [AppComponent],
})
export class AppModule {}

Then you should be able to use the ODS library in your components like this:

In your app.module.ts:

<!-- app.component.html -->
<cz-ods-floating-card> Hey, I'm floating! </cz-ods-floating-card>

FAQs

Package last updated on 17 Jan 2023

Did you know?

Socket

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