@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.

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.0.257ts5.7
1.0.257ts5.6
1.0.257latest
1.0.257ts4.5
1.0.257ts4.6
1.0.257ts4.7
1.0.257ts4.8
1.0.257ts4.9
1.0.257ts5.0
1.0.257ts5.1
1.0.257ts5.2
1.0.257ts5.3
1.0.257ts5.4
1.0.257ts5.5
1.0.257ts5.8
1.0.018ts3.4
1.0.018ts3.5
1.0.018ts3.6
1.0.018ts3.7
1.0.018ts3.8
1.0.018ts3.9
1.0.018ts4.0
1.0.018ts4.1
1.0.018ts4.2
1.0.018ts4.3
1.0.018ts4.4

Version History

VersionDownloads (Last 7 Days)Published
1.0.257
1.0.11
1.0.018

Package Sidebar

Install

npm i @types/drupal-attribute

Weekly Downloads

76

Version

1.0.2

License

MIT

Unpacked Size

3.28 kB

Total Files

5

Last publish

Collaborators

  • types