-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b988f20
commit e48ec15
Showing
9 changed files
with
41 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,4 +3,11 @@ demo/ | |
*.log | ||
*.map | ||
*.ts | ||
!*.d.ts | ||
.vs | ||
.vs/ | ||
screens/ | ||
*.png | ||
!index.d.ts | ||
*.map | ||
tsconfig.json | ||
*.log |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
{ | ||
"name": "nativescript-ripple", | ||
"version": "1.0.1", | ||
"version": "1.1.0", | ||
"description": "NativeScript plugin to add Material Design ripple effects to any layout.", | ||
"main": "ripple.js", | ||
"main": "ripple", | ||
"typings:": "ripple.d.ts", | ||
"nativescript": { | ||
"platforms": { | ||
|
@@ -12,7 +12,7 @@ | |
}, | ||
"scripts": { | ||
"build": "tsc", | ||
"demo.ios": "npm run preparedemo && cd demo && tns emulate ios", | ||
"demo.ios": "npm run preparedemo && cd demo && tns emulate ios", | ||
"demo.android": "npm run preparedemo && cd demo && tns run android", | ||
"preparedemo": "npm run build && cd demo && tns plugin remove nativescript-ripple && tns plugin add .. && tns install", | ||
"setup": "cd demo && npm install && cd .. && npm run build && cd demo && tns plugin add .. && cd .." | ||
|
@@ -35,6 +35,10 @@ | |
"name": "Brad Martin", | ||
"email": "[email protected]" | ||
}, | ||
"contributors": [{ | ||
"name": "Morten Sjøgren", | ||
"url": "https://github.com/m-abs" | ||
}], | ||
"bugs": { | ||
"url": "https://github.com/bradmartin/nativescript-ripple/issues" | ||
}, | ||
|
@@ -47,4 +51,4 @@ | |
"devDependencies": { | ||
"typescript": "^2.0.10" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,21 @@ | ||
import { Property } from "ui/core/dependency-observable"; | ||
import { ContentView } from "ui/content-view"; | ||
|
||
/** | ||
* Contains the Ripple class, which represents the ripple effect. | ||
* Represents the Ripple layout. | ||
*/ | ||
export class Ripple extends ContentView { | ||
|
||
declare module "nativescript-ripple" { | ||
import { Property } from "ui/core/dependency-observable"; | ||
import { ContentView } from "ui/content-view"; | ||
public static rippleColorProperty: Property; | ||
|
||
/** | ||
* Represents the Ripple layout. | ||
* Gets the native [android widget](com.balysv.materialripple.MaterialRippleLayout) that represents the user interface for this component. Valid only when running on Android OS. | ||
*/ | ||
export class Ripple extends ContentView { | ||
|
||
public static rippleColorProperty: Property; | ||
|
||
|
||
/** | ||
* Gets the native [android widget](com.balysv.materialripple.MaterialRippleLayout) that represents the user interface for this component. Valid only when running on Android OS. | ||
*/ | ||
android: any /* com.balysv.materialripple.MaterialRippleLayout */; | ||
android: any /* com.balysv.materialripple.MaterialRippleLayout */; | ||
|
||
|
||
/** | ||
* Gets or sets the ripple color. | ||
*/ | ||
rippleColor: string; | ||
|
||
} | ||
/** | ||
* Gets or sets the ripple color. | ||
*/ | ||
rippleColor: string; | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters