1.0.1 • Published 6 years ago

ng-chitika v1.0.1

Weekly downloads
7
License
MIT
Repository
github
Last release
6 years ago

ng-chitika NPM version

Easy Chitika for Angular Applications

Demo: https://robindijkhof.github.io/ng-chitika/

Install

npm install ng-chitika --save

Usage

Import the module

Add NgChitikaModule to the imports of your NgModule

import {NgChitikaModule} from 'ng-chitika';

@NgModule({
  imports: [
    NgChitikaModule.forRoot({
      publisher: 'SHAD0WF4X'
    }),
    ...

Show Ad

<ng-chitika></ng-chitika>

Inputs

inputtypedescription
adTypestringpublisher name
displaystringelement display style

Adtypes

Type
'wideSkyscraper'
'rectangle'
'mobileBanner'
'halfPageBanner'
'megaUnit'
'leaderboard'
<ng-chitika
  [adType]="'rectangle'"
  [display]="'inline-block'">
</ng-chitika>