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

angularx-wrapper

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angularx-wrapper

Simple wrapper to create an elevated container using Angular Material

latest
npmnpm
Version
0.0.5
Version published
Maintainers
1
Created
Source

angularx-wrapper

Simple wrapper to create an elevated container using Angular Material.

Online Demo

https://angularx-wrapper.byh.uy/

Prerequisites:

  • This library requires @angular/material and lodash.
  • If you do not have one, make sure to install them in your project folder by running ng add @angular/material and npm install --save lodash.

Getting Started

  • Run npm install --save angularx-wrapper.
  • Import AngularXWrapperModule into your app.module:
...
import { AngularXWrapperModule } from 'angularx-wrapper';

@NgModule({
  ...
  imports: [
    ...
    AngularXWrapperModule
  ]
})
export class AppModule { }

Usage

<angularx-wrapper>
    Your content goes here.
</angularx-wrapper>

Directives

Properties

NameType/InterfaceDefaultDescription
@Input('ngxClass')string | string[][]Custom class name(s) for the wrapper
@Input('ngxStyle'){}{}Just like ngStyle, this accepts the styles for the wrapper
@Input('elevation')number (0 - 24)5Elevation level (the higher the number, the more elevated the wrapper appears)
@Input('width')number | string'900px'The wrapper's width
@Input('padding')number | string'32px'Padding between the wrapper and its content
@Input('align' )'center' | 'left' | 'right''left'The wrapper's alignment
@Input('contentAlign')'center' | 'left' | 'right''left'Content's alignment inside the wrapper
@Input('borderRadius')number | string'0px'The wrapper's border radius

Interfaces

N/A

Contribution

For feature request and bug report, visit the issue page.

License

MIT License - Refer to LICENSE.

FAQs

Package last updated on 29 May 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