{"id":13406396,"url":"https://github.com/Ecodev/fab-speed-dial","last_synced_at":"2025-03-14T10:33:14.918Z","repository":{"id":39229019,"uuid":"119398375","full_name":"Ecodev/fab-speed-dial","owner":"Ecodev","description":"Angular Material FAB speed dial","archived":false,"fork":false,"pushed_at":"2024-09-09T14:02:23.000Z","size":3999,"stargazers_count":89,"open_issues_count":9,"forks_count":19,"subscribers_count":9,"default_branch":"master","last_synced_at":"2024-10-20T22:01:48.688Z","etag":null,"topics":["angular","dial","fab","hacktoberfest","material","speed"],"latest_commit_sha":null,"homepage":"https://ecodev.github.io/fab-speed-dial","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Ecodev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-01-29T15:07:56.000Z","updated_at":"2024-09-09T14:00:58.000Z","dependencies_parsed_at":"2024-01-18T23:05:18.672Z","dependency_job_id":"4226e72e-890b-45d2-a768-9fc962bda33d","html_url":"https://github.com/Ecodev/fab-speed-dial","commit_stats":{"total_commits":125,"total_committers":9,"mean_commits":13.88888888888889,"dds":0.248,"last_synced_commit":"591030db758e5fa428979521fc7aea61e017de07"},"previous_names":[],"tags_count":35,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ecodev%2Ffab-speed-dial","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ecodev%2Ffab-speed-dial/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ecodev%2Ffab-speed-dial/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ecodev%2Ffab-speed-dial/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Ecodev","download_url":"https://codeload.github.com/Ecodev/fab-speed-dial/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221458389,"owners_count":16825303,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["angular","dial","fab","hacktoberfest","material","speed"],"created_at":"2024-07-30T19:02:29.149Z","updated_at":"2025-03-14T10:33:14.900Z","avatar_url":"https://github.com/Ecodev.png","language":"TypeScript","readme":"# Angular Material FAB speed dial\n\n[![Build Status](https://github.com/Ecodev/fab-speed-dial/workflows/main/badge.svg)](https://github.com/Ecodev/fab-speed-dial/actions)\n[![Total Downloads](https://img.shields.io/npm/dt/@ecodev/fab-speed-dial.svg)](https://www.npmjs.com/package/@ecodev/fab-speed-dial)\n[![Latest Stable Version](https://img.shields.io/npm/v/@ecodev/fab-speed-dial.svg)](https://www.npmjs.com/package/@ecodev/fab-speed-dial)\n[![License](https://img.shields.io/npm/l/@ecodev/fab-speed-dial.svg)](https://www.npmjs.com/package/@ecodev/fab-speed-dial)\n[![Join the chat at https://gitter.im/Ecodev/fab-speed-dial](https://badges.gitter.im/Ecodev/fab-speed-dial.svg)](https://gitter.im/Ecodev/fab-speed-dial)\n\nThis is a FAB speed dial component for Angular Material.\n\nSee the component in action on [the demo page](https://ecodev.github.io/fab-speed-dial).\n\n## Install\n\n1. Install the library:\n   ```bash\n   yarn add @ecodev/fab-speed-dial\n   ```\n2. In your standalone components add the following to the `imports` array:\n   - `EcoFabSpeedDialComponent`\n   - `EcoFabSpeedDialTriggerComponent`\n   - `EcoFabSpeedDialActionsComponent`\n\n## Usage\n\nThe following is an example of a minimal template. Either implement a `doAction()`,\nor adapt the bindings to your needs:\n\n```html\n\u003ceco-fab-speed-dial\u003e\n  \u003ceco-fab-speed-dial-trigger\u003e\n    \u003cbutton mat-fab (click)=\"doAction('trigger')\"\u003e\u003cmat-icon fontIcon=\"menu\" /\u003e\u003c/button\u003e\n  \u003c/eco-fab-speed-dial-trigger\u003e\n\n  \u003ceco-fab-speed-dial-actions\u003e\n    \u003cbutton mat-mini-fab (click)=\"doAction('action1')\"\u003e\u003cmat-icon fontIcon=\"add\" /\u003e\u003c/button\u003e\n    \u003cbutton mat-mini-fab (click)=\"doAction('action2')\"\u003e\u003cmat-icon fontIcon=\"edit\" /\u003e\u003c/button\u003e\n    \u003cbutton mat-mini-fab (click)=\"doAction('action3')\"\u003e\u003cmat-icon fontIcon=\"search\" /\u003e\u003c/button\u003e\n  \u003c/eco-fab-speed-dial-actions\u003e\n\u003c/eco-fab-speed-dial\u003e\n```\n\n## Properties\n\n### eco-fab-speed-dial\n\n| Property    | Type                            | Default | Description                                |\n| ----------- | ------------------------------- | ------- | ------------------------------------------ |\n| `open`      | `boolean`                       | `false` | Indicates if this FAB Speed Dial is opened |\n| `direction` | `up`, `down`, `left` or `right` | `up`    | The direction to open the action buttons   |\n\n### eco-fab-speed-dial-trigger\n\n| Property | Type      | Default | Description                                                               |\n| -------- | --------- | ------- | ------------------------------------------------------------------------- |\n| `spin`   | `boolean` | `false` | Enables the rotation of the trigger action when the speed dial is opening |\n\nAdditionally to spin property, add class \"spin180\" or \"spin360\" on html content inside of `eco-fab-speed-dial-trigger` tag to activate rotation on a specific element.\n\nIn case of buttons, the icon should rotate not the whole button (box-shadow would rotate too).\n\n## Development\n\nThe most useful commands for development are:\n\n- `yarn dev` to start a development server\n- `yarn build-demo` to build the demo locally (it will be published automatically by GitHub Actions)\n- `git tag -a 1.2.3 \u0026\u0026 git push` to publish the lib to npm (via GitHub Actions `release` job)\n\n## Prior work\n\nThis lib was originally based on [angular-smd](https://github.com/jefersonestevo/angular-smd),\nand its various forks, itself based on\n[AngularJS FAB Speed Dial](https://material.angularjs.org/latest/demo/fabSpeedDial).\n","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FEcodev%2Ffab-speed-dial","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FEcodev%2Ffab-speed-dial","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FEcodev%2Ffab-speed-dial/lists"}