Skip to content
This repository has been archived by the owner on Jan 18, 2023. It is now read-only.

Commit

Permalink
Merge pull request #102 from jofftiquez/patch-2
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
bradmartin authored Dec 14, 2018
2 parents cf46808 + fc0822b commit c9f70e8
Showing 1 changed file with 19 additions and 4 deletions.
23 changes: 19 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<a align="center" href="https://www.npmjs.com/package/nativescript-cardview">
<a align="center" href="https://www.npmjs.com/package/nativescript-cardview">
<h3 align="center">NativeScript CardView</h3>
</a>
<h4 align="center">A NativeScript plugin to provide an XML widget to implement the Material Design CardView component.</h4>
Expand Down Expand Up @@ -108,6 +108,21 @@ registerElement('CardView', () => CardView);
</CardView>
```

## NativeScript + Vue

```javascript
import Vue from 'nativescript-vue';
Vue.registerElement('CardView', () => require('nativescript-cardview').CardView);
```

```html
<card-view margin="10" elevation="40" radius="1">
<stack-layout>
<label text="Hello World" />
</stack-layout>
</card-view>
```

## Attributes

* **radius** _optional_
Expand Down Expand Up @@ -181,6 +196,6 @@ shadowRadius = 1;
| :----------------------------------------------------------------------------------------------------------------------------------: | :-------------------------------------------------------------------------------------------------------------------------------------: | :----------------------------------------------------------------------------------------------------------------------------: | :---------------------------------------------------------------------------------------------------------------------------------: | :------------------------------------------------------------------------------------------------------------------------------------------: | :--------------------------------------------------------------------------------------------------------------------------: |
| [bradmartin](https://github.com/bradmartin) | [NathanWalker](https://github.com/NathanWalker) | [manijak](https://github.com/manijak) | [NathanaelA](https://github.com/NathanaelA) | [EddyVerbruggen](https://github.com/EddyVerbruggen) | [sis0k0](https://github.com/sis0k0) |

| [<img alt="vladimirnani" src="https://avatars0.githubusercontent.com/u/3397077?v=3&s=117" width="117">](https://github.com/vladimirnani) | [<img alt="DickSmith" src="https://avatars0.githubusercontent.com/u/6675511?v=3&s=117" width="117">](https://github.com/DickSmith) |
| :--------------------------------------------------------------------------------------------------------------------------------------: | :--------------------------------------------------------------------------------------------------------------------------------: |
| [vladimirnani](https://github.com/vladimirnani) | [DickSmith](https://github.com/DickSmith) |
| [<img alt="vladimirnani" src="https://avatars0.githubusercontent.com/u/3397077?v=3&s=117" width="117">](https://github.com/vladimirnani) | [<img alt="DickSmith" src="https://avatars0.githubusercontent.com/u/6675511?v=3&s=117" width="117">](https://github.com/DickSmith) | [<img alt="JoffTiquez" src="https://avatars0.githubusercontent.com/u/8638243?v=3&s=117" width="117">](https://github.com/jofftiquez) |
| :--------------------------------------------------------------------------------------------------------------------------------------: | :--------------------------------------------------------------------------------------------------------------------------------: | :--------------------------------------------------------------------------------------------------------------------------------: |
| [vladimirnani](https://github.com/vladimirnani) | [DickSmith](https://github.com/DickSmith) | [Jofferson Tiquez](https://github.com/jofftiquez) |

0 comments on commit c9f70e8

Please sign in to comment.