Universeorange.com/Docs/
ready(() => {
let element = select('input');
element.attribute('placeholder', 'hello world!')
console.log(element.attribute('placeholder'));
console.log(element.attribute('has', 'placeholder'));
element.attribute('delete', 'placeholder');
console.log(element.attribute('has', 'placeholder'));
});
You can either set
, has
, delete
or get
an attribute. In this case placeholder
.
Last modified: 2021-06-07
© 2021 universeorange.com