Skip to main content

token_list_write

Function token_list_write 

Source
fn token_list_write(it: &mut Interp, idx: usize, attr: &str, tokens: &[String])
Expand description

DOMTokenList の「更新の手順」。属性が無くトークンも空なら何もしない。そうでなければ対象属性を書く (変わらなくても属性の設定として MutationObserver へ知らせる)。