0.0.13 • Published 4 years ago

ngx-photo-card v0.0.13

Weekly downloads
6
License
MIT
Repository
github
Last release
4 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

4 years ago

0.0.12

4 years ago

0.0.11

4 years ago

0.0.10

4 years ago

0.0.9

4 years ago

0.0.8

4 years ago

0.0.7

4 years ago

0.0.6

4 years ago

0.0.5

4 years ago

0.0.3

4 years ago

0.0.4

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago