npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

worko-ng-grid

v12.1.3

Published

## Install

Downloads

111

Readme

Worko Angular Grid

Install

npm install --save worko-ng-grid

Usage

Importa WorkoNgGridModule en la declaración de tu módulo:

import { WorkoNgGridModule } from 'worko-ng-grid';

@NgModule({
  declarations: [
    ...
  ],
  imports: [
    ...
    WorkoNgGridModule
  ],
  exports: [
    ...
  ]
})
export class YourModule { }

Componente wrapper fluid

Wrapper fluid es un contenedor que crece dentro de su elemento padre. Tendrá un padding horizontal definido en la variable --safe-area.

Ejemplos

<w-wrapper-fluid>
  ...
</w-wrapper-fluid>

Componente wrapper centered

Wrapper centered es un contenedor centrado que cambiará su anchura dependiendo de la anchura del navegador y los breakpoints definidos.

Ejemplos

<w-wrapper-centered>
  ...
</w-wrapper-centered>

| Breakpoint | Wrapper fluid | Wrapper centered | |--------------------------------|---------------|------------------| | xs (screen < 576px) | 100% | 100% | | sm (557px <= screen < 768px) | 100% | 540px | | md (768px <= screen < 992px) | 100% | 720px | | lg (992px <= screen < 1200px) | 100% | 960px | | xl (1200px <= screen < 1500px) | 100% | 1140px | | xxl (screen < 1500px) | 100% | 1440px |

Row

Componente para agrupar y distribuir columnas

Ejemplos

<w-row [wrap]="true">
...
</w-row>

Col

Componente para la distribución de contenido dividido en columnas.

Ejemplos

<w-row>
  <w-col [xs]="6" [md]="4" [mdOffset]="2"></w-col>
  <w-col [xs]="6" [md]="4"></w-col>
</w-row>

Atributos

| Atributo | Descripción | |-----------|------------------------------------------------------------------------------------------ | xs | Número de columnas de anchura en el breakpoint xs | | xsOffset | Número de columnas de separación en el breakpoint xs | | xsTotal | Total sobre el que aplicar la anchura y separación en el breakpoint xs (default: 12) | | sm | Número de columnas de anchura en el breakpoint sm | | smOffset | Número de columnas de separación en el breakpoint sm | | smTotal | Total sobre el que aplicar la anchura y separación en el breakpoint sm (default: 12) | | md | Número de columnas de anchura en el breakpoint md | | mdOffset | Número de columnas de separación en el breakpoint md | | mdTotal | Total sobre el que aplicar la anchura y separación en el breakpoint md (default: 12) | | lg | Número de columnas de anchura en el breakpoint lg | | lgOffset | Número de columnas de separación en el breakpoint lg | | lgTotal | Total sobre el que aplicar la anchura y separación en el breakpoint lg (default: 12) | | xl | Número de columnas de anchura en el breakpoint xl | | xlOffset | Número de columnas de separación en el breakpoint xl | | xlTotal | Total sobre el que aplicar la anchura y separación en el breakpoint xl (default: 12) | | xxl | Número de columnas de anchura en el breakpoint xxl | | xxlOffset | Número de columnas de separación en el breakpoint xxl | | xxlTotal | Total sobre el que aplicar la anchura y separación en el breakpoint xxl (default: 12) |

Desarrollo de la librería

Para el desarrollar y compilar la librería:

 npm run build:worko-ng-grid 

Para publicar una nueva versión:

cd dist/worko-ng-grid
npm publish