setAttributeの読み方
javascriptで利用されるメソッドの1つである「setAttribute」の読み方を掲載してます。
読み⽅
「セット・アトリビュート」と読みます。
英訳
「Attribute」は「属性」という意味があります。
setAttributeとは
javascriptで、属性を作成することができます。
const elm = document.getElementById('id名');
elm.setAttribute("width", "300");
elm.setAttribute("height", "300");
setAttributeの使い方はこちら
-
前の記事
ravelの読み方 2021.03.14
-
次の記事
Authorizeの読み方 2021.03.15