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

Commit

Permalink
add ripple to demo card
Browse files Browse the repository at this point in the history
  • Loading branch information
bradmartin committed Jul 9, 2018
1 parent e6319e8 commit cf46808
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
5 changes: 2 additions & 3 deletions demo/app/main-page.xml
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
<page
xmlns="http://schemas.nativescript.org/tns.xsd"
<page xmlns="http://schemas.nativescript.org/tns.xsd"
xmlns:Card="nativescript-cardview" loaded="pageLoaded">
<action-bar title="CardView" backgroundColor="#009688" color="#fff" />
<scroll-view>
<stack-layout>
<Card:CardView margin="5" loaded="{{ cardLoaded }}" id="batCard" class="whiteCard">
<Card:CardView ripple="true" margin="5" loaded="{{ cardLoaded }}" id="batCard" class="whiteCard">
<grid-layout rows="200, auto, auto" columns="*, *">
<image src="~/images/batman.jpg" stretch="aspectFill" margin="10" colSpan="2" row="0" />
<label text="Batman wants to be friends?" class="info" textWrap="true" row="1" colSpan="2" />
Expand Down
7 changes: 2 additions & 5 deletions demo/package.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
{
"nativescript": {
"id": "org.nativescript.demo",
"tns-ios": {
"version": "4.0.1"
},
"tns-android": {
"version": "4.0.1"
"version": "4.1.3"
}
},
"dependencies": {
"nativescript-cardview": "../src",
"nativescript-cardview": "file:../src",
"nativescript-theme-core": "^1.0.4",
"tns-core-modules": "^4.0.0"
},
Expand Down

0 comments on commit cf46808

Please sign in to comment.