Skip to content

Commit 1dd5a91

Browse files
Merge pull request #11 from micflan/patch-1
Updated link to elevation enum in README.md
2 parents 5c104d8 + a234edd commit 1dd5a91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ The table below list and describes all possible attributes as well as show which
8484
| Attribute | Type | Platform | Description |
8585
| ------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
8686
| shadow | string \| number \| [AndroidData](https://github.com/TheOriginaljosh/nativescript-ngx-shadow/blob/master/src/common/android-data.model.ts) \| [IOSData](https://github.com/TheOriginaljosh/nativescript-ngx-shadow/blob/master/src/common/ios-data.model.ts) | both | Directive attribute. Providing `null` or empty string with no `elevation` attribute, will switch off the shadow |
87-
| elevation | number \| string | both | Determines the elevation of the view from the surface. It does all shadow related calculations. You might want to have a look at [this enum](https://github.com/TheOriginaljosh/nativescript-ngx-shadow/blob/master/src/common/elevation.enum.ts) of standard material design elevations. <br>PS: Since version 2.0, it's calculated in DIPs (or DPs, _density independent pixels_) on Android, or PTs (_points_) on iOS. |
87+
| elevation | number \| string | both | Determines the elevation of the view from the surface. It does all shadow related calculations. You might want to have a look at [this enum](https://github.com/TheOriginalJosh/nativescript-ngx-shadow/blob/master/lib/src/nativescript-ngx-shadow/common/elevation.enum.ts) of standard material design elevations. <br>PS: Since version 2.0, it's calculated in DIPs (or DPs, _density independent pixels_) on Android, or PTs (_points_) on iOS. |
8888
| pressedElevation | number \| string | Android | Determines the view's elevation when on pressed state. |
8989
| shape | string => `'RECTANGLE'` \| `'OVAL'` \| `'RING'` \| `'LINE'` <br/>default: `'RECTANGLE'` | Android | Determines the shape of the view and overrides its format styles. |
9090
| bgcolor | string => color #RGB | Android | Determines view's background color and overrides its previous background. If not set, the previous background is used. **NOTE:** setting the background to transparent is known to cause issues on Android (the shadow may overlap the background) |

0 commit comments

Comments
 (0)