Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

auto-hide-toolbar

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

auto-hide-toolbar

Dead simple angular auto hiding toolbar

  • 2.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

AutoHideToolbar

Build and Deploy

Angular auto hiding header component (For angular 12, optimized, minimal (less than 3kb), zero dependencies).

auto-hiding-toolbar-demo

Install

To install this lib in your angular project

ng add auto-hide-toolbar

Usage

your.module.ts

import { AutoHideToolbarModule } from 'auto-hide-toolbar';
// ...
@NgModule({
  ...
  imports: [..., AutoHideToolbarModule],
})
export class YourModule {}

your.component.html

<!-- page top -->
<lib-auto-hide-toolbar shadowPadding="9">
  <!-- your toolbar html goes here -->
</lib-auto-hide-toolbar>

Example

<lib-auto-hide-toolbar shadowPadding="9">
  <div style="background-color: purple; padding: 5px;">
    <h1 style="margin: 0px; color: wheat;">Demo Toolbar</h1>
  </div>
</lib-auto-hide-toolbar>

Attribute shadowPadding

Adds basic padding below the falling header component - to preserve shadows if any. Unit in pixels.

[Project scaffolded with Angular 10.0.9]

Licence

MIT © 2020 Vajahath Ahmed

Keywords

FAQs

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc