zepto中的屬性設置

上次看zepto的init方法時,有一段屬性設置的代碼,先來看看其表現: if (isPlainObject(properties)) { nodes = $(dom) $.each(properties, function(key, value) { if (methodAttributes.indexOf(key) > -1) nodes[key](va
相關文章
相關標籤/搜索