@types/drupal-attribute
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

Installation

npm install --save @types/drupal-attribute

Summary

This package contains type definitions for drupal-attribute (https://github.com/ericmorand/drupal-attribute).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/drupal-attribute.

index.d.ts

declare class DrupalAttribute extends Map {
    constructor(it: any);

    addClass(...args: string[]): this;
    removeClass(value: string): this;
    hasClass(value: string): boolean;
    setAttribute(key: string, value: string): this;
    removeAttribute(key: string): this;
    toString(): string;
}

export = DrupalAttribute;

Additional Details

  • Last updated: Mon, 06 Nov 2023 22:41:05 GMT
  • Dependencies: none

Credits

These definitions were written by Victor Castro-Cintas.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/drupal-attribute

Weekly Downloads

122

Version

1.0.2

License

MIT

Unpacked Size

3.28 kB

Total Files

5

Last publish

Collaborators

  • types