observe attribute javascript code example Example: mutationobserver specific attribute var options = { attributeFilter: [ "list", "of", "attribute", "names" ] }