1
0
Fork 0
freesewing/markdown/dev/reference/api/attributes/remove/en.md
2022-09-29 19:01:10 +02:00

356 B

title
Attributes.remove()

The Attributes.remove() method removes the attribute values under key and returns the Attributes object.

Signature

Attributes attributes.remove(string key)

Example

const attr = new Attributes()
  .add('class', 'classA')
  .add('class', 'classB')
  .remove('class')

// attr holds no data