← オブジェクトリファレンスに戻る

deleteChildspriteAll

概要

引数(括弧内はデフォルト値)

引数 型 必須 指定内容
_parentObjName string * 削除起点のオブジェクト

返却値

使用例

/** * 譜面変更セレクターの削除 */ const resetDifWindow = _ => { if (document.querySelector(`#difList`) !== null) { deleteChildspriteAll(`difList`); optionsprite.removeChild(document.querySelector(`#difList`)); optionsprite.removeChild(document.querySelector(`#difCover`)); } };