Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@corentinmag/ngx-float-button

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@corentinmag/ngx-float-button

A highly customizable float action button build for Angular2+ with Angular material

  • 1.5.0
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

To use this library:

$ npm install @corentinmag/ngx-float-button
$ ng add @angular/material
// app.module.ts

import { NgxFloatButtonModule } from '@corentinmag/ngx-float-button';
import { BrowserModule } from '@angular/platform-browser';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
...

@NgModule({
    ...,
    imports: [
        BrowserModule,
        BrowserAnimationsModule,
        NgxFloatButtonModule
    ]
})
<!-- app.component.html -->
<ngx-float-button>
    <ngx-float-item-button></ngx-float-item-button>
    <ngx-float-item-button></ngx-float-item-button>
    <ngx-float-item-button></ngx-float-item-button>
</ngx-float-button>

Ngx-float-button

List of Inputs

@Inputstypedefaultdescription
direction`'top''left''right'
iconstringhomeshould be a material icon string (https://fonts.google.com/icons)
tooltipstringhomenot used
colorThemePaletteprimarymain button color
position`'br''bl''tl'
disabledbooleanfalseeither the main button is disabled or not
spaceBetweennumber5the space in pixel between each child button
spaceGapnumber15the space in pixel between the main button and the first child button
isOpenbooleanfalseeither the child buttons should appear at startup
hoverablebooleanfalseeither the user should hover or click the main button to reveal the child buttons
tooltipDisabledbooleanfalseeither tooltip is enabled or not

Ngx-float-item-button

List of Inputs

@Inputstypedefaultdescription
iconstringhomeshould be a material icon string (https://fonts.google.com/icons)
tooltipstringhomethe tooltip text
colorThemePaletteprimarymain button color
disabledbooleanfalseeither the button is disabled or not
tooltipDisabledbooleanfalseeither tooltip is enabled or not

Keywords

FAQs

Package last updated on 25 Jan 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc