You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

ng-dialog-animation

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ng-dialog-animation

This library using angular material dialog with animation, title, and rtl support.

9.0.4
latest
Source
npmnpm
Version published
Weekly downloads
1.7K
-2.18%
Maintainers
1
Weekly downloads
 
Created
Source

NgDialogAnimation

This library using angular material dialog with animation, title, and rtl support.

options

  • Title.
  • Auto set diraction rtl when find dit='rtl'.
  • position.rowEnd/position.rowStart.
  • Animation -
    animation?:
        | {
              to: 'aside' | 'top' | 'bottom' | 'left' | 'right';
              incomingOptions?: { keyframes?: Keyframe[]; keyframeAnimationOptions: KeyframeAnimationOptions };
              outgoingOptions?: { keyframes?: Keyframe[]; keyframeAnimationOptions: KeyframeAnimationOptions }
          }
        | {
              to?: 'aside' | 'top' | 'bottom' | 'left' | 'right';
              incomingOptions?: { keyframes: Keyframe[]; keyframeAnimationOptions: KeyframeAnimationOptions };
              outgoingOptions?: { keyframes: Keyframe[]; keyframeAnimationOptions: KeyframeAnimationOptions };
          };

stackblitz playground

Get started

install

npm i ng-dialog-animation

add to providers

@NgModule({
//....
    providers: [
        NgDialogAnimationService,
    ],
})
//......

inject to your component

import { NgDialogAnimationService } from 'ng-dialog-animation';

export class SomeComponent {
  constructor(public dialog: NgDialogAnimationService) {
  }
}

now you can use it like material dialog with the extra things

  openDialog(): void {
    const dialogRef = this.dialog.open(DialogOverviewExampleDialog, {
      width: "250px",
      animation: { to: "aside" }
    }
}

FAQs

Package last updated on 19 Dec 2020

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.