Skip to content
This repository has been archived by the owner. It is now read-only.
NOT MAINTAINED: Card view component for angular2
TypeScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
components
example
.gitignore
.npm-ignore
LICENSE
README.md
ng2-card.ts
package.json
tsconfig.json
tslint.json

README.md

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
You can’t perform that action at this time.