0.0.13 • Published 5 years ago

ngx-photo-card v0.0.13

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

ngx-photo-card

Simple photo card component for Angular

npm npm NPM

Demo Page

Usage

npm i ngx-photo-card --save

module.ts

import { NgxPhotoCardModule } from 'ngx-photo-card';

@NgModule({
  imports: [    
    NgxPhotoCardModule
  ]
})

mycomponent.html

<ngx-photo-card [photos]="photos" [options]="options"></ngx-photo-card>

mycomponent.ts

  import { PhotoInfo } from 'ngx-photo-card/lib/models/photoinfo';
  import { PhotoCardOptions } from 'ngx-photo-card/lib/models/options';

  photos: PhotoInfo[] = [
    { title: '.NET', imgSrc: 'http://www.tursoft.net/_files/technologies/original/netcore.png', imgWidth: '200px' },
    { title: 'HTML5', imgSrc: 'http://www.tursoft.net/_files/technologies/original/html5.png', imgWidth: '200px' },
    { title: 'Javascript', imgSrc: 'http://www.tursoft.net/_files/technologies/original/js.png', imgWidth: '200px' },
    { title: 'Angular', imgSrc: 'http://www.tursoft.net/_files/technologies/original/angular.png', imgWidth: '200px' }
  ];

  options: PhotoCardOptions =  {
    borderColor: 'black',
    borderRadius: '25px',
    showNumber: false
  };
0.0.13

5 years ago

0.0.12

5 years ago

0.0.11

5 years ago

0.0.10

5 years ago

0.0.9

5 years ago

0.0.8

5 years ago

0.0.7

5 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.3

5 years ago

0.0.4

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago