1.0.1 • Published 6 years ago
ng-chitika v1.0.1
ng-chitika
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
input | type | description |
---|---|---|
adType | string | publisher name |
display | string | element display style |
Adtypes
Type |
---|
'wideSkyscraper' |
'rectangle' |
'mobileBanner' |
'halfPageBanner' |
'megaUnit' |
'leaderboard' |
<ng-chitika
[adType]="'rectangle'"
[display]="'inline-block'">
</ng-chitika>