New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

angular-glass

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular-glass

This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 12.0.3.

latest
Source
npmnpm
Version
1.0.1
Version published
Maintainers
1
Created
Source

AngularGlass

This project was generated with Angular CLI version 12.0.3.

Usage guide

Install Package

    npm install angular-glass

Import module from package into your app module

import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';

import { AppComponent } from './app.component';

import { GlassModule } from "angular-glass";

@NgModule({
  declarations: [
    AppComponent,
  ],
  imports: [
    BrowserModule,
    GlassModule
  ],
  providers: [],
  bootstrap: [AppComponent]
})
export class AppModule { }

Use directive inside component html

<div class="parent">
  <div class="container" asGlass [outlineWidth]=4>
    <p>This is a Test for glassMorphism module angular-glass</p>
  </div>
</div>

Properties you can bind to after adding the asGlass directive to any html element

PropertyDefault ValuePermitted Values
blur4any integer from 0-20
opacity0.250-1
borderRadius10any positive number
showOutlinetrueboolean
outlineWidth1any positive number
r255any number between 0-255
g255any number between 0-255
b255any number between 0-255

Sample Images

Tinted Abstract background Abstract Shape Login Screen

Keywords

Angular

FAQs

Package last updated on 06 Jun 2021

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