nativescript-floatingactionbutton icon indicating copy to clipboard operation
nativescript-floatingactionbutton copied to clipboard

Expose hide() and show() methods

Open ghost opened this issue 7 years ago • 1 comments

Currently the only way to hide or show the FAB is to call animate() on it. It works, but it is cumbersome because it won't follow swipeAnimation/hideAnimationDuration.

I suggest to move the on("pan") callback code to methods such as hide() and show() because sometimes it is desirable to control this manually.

Thank you

ghost avatar Feb 07 '18 17:02 ghost

Agreed, I'm also unable to utilize angular's *ngIf currently.

r0zar avatar Mar 18 '18 18:03 r0zar