Socket
Socket
Sign inDemoInstall

ak-skelton

Package Overview
Dependencies
5
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    ak-skelton

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


Version published
Maintainers
1
Created

Readme

Source

AkSkelton

This library was generated with Angular CLI version 13.2.0.

Installation

Run install ak-skelton library by running the following command.

npm i ak-skelton

add AkSkeltonModule to your angular modules like app.module.ts.

Preview

Demo Application Demo. Examples Code for usage.

-- Whenever isLoading is true then it will starts display the skelton placeholder to indicate loader progress.

<div class="flex">
  <p>Test 1:</p>
  <p *skeleton="isLoading; 
                height: '50px'; 
                width: '500px'">
  </p>
</div>

<section class="flex">
  <p>Test Dynamically create:</p>
  <ng-container *skeleton="isLoading; 
                           repeat: 5; 
                           className: 'mb-2'; 
                           height: '100px';
                           width: '500px'">
<!-- content goes here -->
    <div *ngFor="let num of [1,2, 3]">
      {{ num }}
    </div>

  </ng-container>
</section>

<p>Test Randon width :</p>
<ng-container *skeleton="isLoading; 
                         repeat: 5; 
                         className: 'mb-2'; 
                         height: '30px'; 
                         width: 'rand'">
  <!-- content goes here -->
  <div *ngFor="let num of [1,2, 3, 4, 5]">
    {{ num }}
  </div>

</ng-container>

Hire me or Contact me for any modifications or help

ajaychagam@gmail.com

Keywords

FAQs

Last updated on 10 Apr 2022

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc