nativescript-community / ui-material-components

Monorepo that contains all of the NativeScript Material Design plugins.
https://nativescript-community.github.io/ui-material-components/
Apache License 2.0
219 stars 80 forks source link

SpeedDial implementation for ns angular not found #358

Open tce-rishab opened 2 years ago

tce-rishab commented 2 years ago

SpeedDial usage for NativeScript Angular is not available? @farfromrefug , @FestplattenSchnitzel can u provide with that implementation

i tried like this

import {NativeScriptSpeedDialModule} from '@nativescript-community/ui-material-speeddial/angular';

  imports: [
    ......

    NativeScriptSpeedDialModule

    ],
<MDSpeedDial buttonFontSize="26" text="mdi-one-up"  buttonClass="mdi" buttonBackgroundColor="yellow" (tap)="onTap()">
      <MDSpeedDialItem icon="res://ic_star" title="test1" backgroundColor="red"    (tap)="onTap()"></MDSpeedDialItem>
      <MDSpeedDialItem text="mdi-card-account-mail" title="test2" buttonClass="mdi" backgroundColor="green"  (tap)="onTap()"></MDSpeedDialItem>
      <MDSpeedDialItem backgroundImage="~/images/iu.jpg"  backgroundColor="blue"    (tap)="onTap()"></MDSpeedDialItem>
      <MDSpeedDialItem icon="res://ic_star" title="test4" backgroundColor="orange"   (tap)="onTap()"></MDSpeedDialItem>
  </MDSpeedDial>
pitw commented 2 years ago

Sorry - just use Vue, not Angular. Did you try demo from https://github.com/nativescript-community/ui-material-components/tree/master/demo-ng ?

FestplattenSchnitzel commented 2 years ago

@Raina-Rishab I guess you pinged me because I am appearing as second-most contributor to this project. This is due to my PR https://github.com/nativescript-community/ui-material-components/pull/230 with 145 commits of README changes, which has (unfortunately) not been squashed.

So I am definitely not the one with the second-most experience; please don't ping me on {N} specific questions.

farfromrefug commented 2 years ago

@FestplattenSchnitzel sorry for you being pinged ;) @Raina-Rishab i am the maintainer of this plugin. https://github.com/nativescript-community/ui-material-components/blob/master/src/speeddial/angular/index.ts seems to say it should be working. However i know nothing about angular :s Your best bet is to ask on discord in the angular channel. If someone sees the issue then a PR can be created to fix it for everyone