New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@riot-material/app-bar-utils

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

@riot-material/app-bar-utils

You can install it via nodejs ```sh npm install @riot-material/app-bar-utils ``` or download one of the bundled file ```js /* `dist/index.amd.js` or `dist/index.umd.js` */ requirejs.config({ paths: { "@riot-material/app-bar-utils": "path/to

  • 1.3.0
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

app-bar utilities based on Material Design for riot-material

Installation

You can install it via nodejs

npm install @riot-material/app-bar-utils

or download one of the bundled file

/* `dist/index.amd.js` or `dist/index.umd.js` */
requirejs.config({
  paths: {
    "@riot-material/app-bar-utils": "path/to/@riot-material/app-bar-utils",
  },
});

require(['@riot-material/app-bar-utils'], function (appBarUtils) {
    // ...
});

/* `dist/index.js` */
import * as appBarUtils from "@riot-material/app-bar-utils";

// or

import { ... } from "@riot-material/app-bar-utils";

otherwise you can include the script in your project html

<script src="@riot-material/app-bar-utils/index.umd.js" />

and access it via

window.riotMaterial.appBarUtils;

Documentation

getHeight(): number

returns number: the height of the app-bar

Note: it internally calls setup

offChange(listener: (this: T) => void, thisArg?: T): void

removes the listener

listener: (this: T) => void the listener to call when change in height happens
thisArg: T the this argument to pass to the listener when called

onceChange(listener: (this: T) => void, thisArg?: T): void

adds a listener that will be called once when the height of the app bar changes

listener: (this: T) => void the listener to call when change in height happens
thisArg: T the this argument to pass to the listener when called

onChange(listener: (this: T) => void, thisArg?: T): void

adds a listener that will be called when the height of the app bar changes

listener: (this: T) => void the listener to call when change in height happens
thisArg: T the this argument to pass to the listener when called

setup()

Note: internally called by getHeight

FAQs

Package last updated on 01 Oct 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