Skip to content
This repository has been archived by the owner on Sep 8, 2018. It is now read-only.

c-bata/ng2-card

Repository files navigation

ng2-card

Card view component for angular2. This library is a pre release.

example

Demo - this is my portfolio website.

Installation

$ npm install --save ng2-card

Usage

import {Component} from "@angular/core";
import {Card} from "ng2-card/ng2-card";

@Component({
    selector: "my-app",
    template: `
    <card title="Portfolio"
          subtitle="This is my portfolio website."
          linkUrl="https://github.com/c-bata/c-bata.github.io"
          imageUrl="/img/works/portfolio.png"
          tags="HTML5,Sass,Compass,Angular2"></card>
`,
    directives: [Card]
})
export class App {}

Properties

  • title {string} : a title text
  • subtitle {string} : a subtitle text
  • linkUrl {string} : a link url
  • linkUrl {string} : a image url
  • tags {string} : the tags text separated by comma

About

NOT MAINTAINED: Card view component for angular2

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published