Skip to content

Commit cc3dea8

Browse files
committed
update
1 parent 45ea90e commit cc3dea8

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,11 @@ XML widget to create the Material Design Floating Action Button for NativeScript
5353
PLEASE NOTE: The fab is on the same **row number** as the listview
5454
***
5555

56-
#### Angular + TypeScript
57-
`import { registerElement } from "nativescript-angular/element-registry";`
58-
59-
`registerElement("Fab", () => require("nativescript-floatingactionbutton").Fab);`
60-
56+
#### Angular NativeScript
57+
``` typescript
58+
import { registerElement } from "nativescript-angular/element-registry";
59+
registerElement("Fab", () => require("nativescript-floatingactionbutton").Fab);
60+
```
6161
##### HTML
6262
```HTML
6363
<StackLayout>
@@ -94,7 +94,7 @@ exports.fabTap = function(args) {
9494

9595
| Property | Android | iOS | Description | Note |
9696
|------------|-------------------|------|-------------|------|
97-
| backColor | X | X | Sets the background color of the button | Better set in CSS
97+
| backgroundColor | X | X | Sets the background color of the button |
9898
| icon | X | X | Supports the same image source options that NativeScript images support | Required on android
9999
| rippleColor| X | | Ripple color on lollipop devices, it will fill the FAB on pre-lollipop devices | None
100100
| hideOnSwipeOfView| X | X | Directs the fab to animate itself in and out on scroll | Pass it the name of the view to monitor for a scroll event example: hideOnSwipeOfView="userListView"
@@ -121,6 +121,6 @@ exports.fabTap = function(args) {
121121
### Contributors
122122

123123
- Lázaro Danillo [lazaromenezes](https://github.com/lazaromenezes)
124-
- Steve McNiven-Scott [sitefinitysteve](https://github.com/sitefinitysteve) - iOS
124+
- Steve McNiven-Scott [sitefinitysteve](https://github.com/sitefinitysteve)
125125
- Nathanael Anderson [NathanaelA]("https://github.com/NathanaelA)
126126
- Gabriel Marinho [gabrielbiga](https://github.com/gabrielbiga)

0 commit comments

Comments
 (0)