1.0.18 • Published 3 years ago

@playwire/pw-angular-component v1.0.18

Weekly downloads
-
License
-
Repository
-
Last release
3 years ago

Playwire Angular Ramp Component

Playwire's Angular Component

This project was generated with Angular CLI version 14.2.2.

Install the component in an Angular App

npm i --save @playwire/pw-angular-component

Use the component in an Angular App

In the main app.module.ts:

import { AppComponent } from './app.component';
import { RampModule, CoreModule } from '@playwire/pw-angular-component';

@NgModule({
  declarations: [
    AppComponent,
  ],
  imports: [
    BrowserModule,
    RampModule, // ramp
    CoreModule.forRoot() // ramp
  ],
  providers: [],
  bootstrap: [AppComponent]
})
export class AppModule { }

In the app.component.html

  <ramp publisherId="1016948" id="63673"></ramp>
  <ramp-unit type="leaderboard_atf" selectorId="leaderboard_atf" cssClass="pw-tag"></ramp-unit>

Code scaffolding (Ramp Component)

Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory.

Running unit tests

Run ng test to execute the unit tests via Karma.

Running end-to-end tests

Run ng e2e to execute the end-to-end tests via a platform of your choice. To use this command, you need to first add a package that implements end-to-end testing capabilities.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI Overview and Command Reference page.

1.0.18

3 years ago

1.0.17

3 years ago

1.0.16

3 years ago

1.0.11

3 years ago

1.0.10

3 years ago

1.0.15

3 years ago

1.0.14

3 years ago

1.0.13

3 years ago

1.0.12

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago