久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

Isotope 和 Masonry jQuery 插件之間的區(qū)別

Differences between Isotope and Masonry jQuery plugins(Isotope 和 Masonry jQuery 插件之間的區(qū)別)
本文介紹了Isotope 和 Masonry jQuery 插件之間的區(qū)別的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學(xué)習(xí)吧!

問題描述

我最近發(fā)現(xiàn)了 砌體 和 同位素 JQuery 插件.它們似乎在功能上幾乎相同,并且似乎都具有相同的作者.我能看到的唯一明顯區(qū)別是許可證.

I recently discovered the Masonry and Isotope JQuery plugins. They seem to be functionally almost identical and both appear to have the same author. The only obvious difference I can see is the license.

這兩者在功能方面的主要區(qū)別是什么?為什么要使用一個而不是另一個?

What are the main differences between these two in terms of functionality? Why would you use one over the other?

推薦答案

摘自作者訪談:

對于某些人來說,同位素看起來與您之前使用 Masonry 所做的工作非常相似;你能解釋一下主要區(qū)別嗎兩者之間?

同位素具有 Masonry 缺乏的幾個特征.砌體本質(zhì)上做一件事,將項目元素放置在級聯(lián)排列中.Isotope 內(nèi)置了 Masonry 的布局邏輯,但除此之外,它還有幾種其他的布局模式可以用來動態(tài)的位置元素.您甚至可以開發(fā)自己的自定義布局模式.

Isotope has several features that Masonry lacks. Masonry essentially does one thing, placing item elements in a cascading arrangement. Isotope has Masonry’s layout logic built in, but in addition, it also has several other layout modes that can be used to dynamically position elements. You can even develop your own custom layout mode.

正如我所提到的,它內(nèi)置了過濾和排序功能in. 過濾項目就像傳入一個 jQuery 選擇器一樣簡單:

As I’ve mentioned, it has filtering and sorting functionality built in. Filtering items is as easy as passing in a jQuery selector:

$('#container').isotope({ filter: '.my-selector' });

Isotope 充分利用了目前最好的瀏覽器功能.Isotope 沒有使用典型的左/上樣式定位,而是采用漸進(jìn)增強(qiáng)方法并在支持時使用 CSS 轉(zhuǎn)換通過瀏覽器.這為一流的性能提供了一流的性能瀏覽器.隨著硬件加速的啟動,動畫看起來很流暢在 WebKit 瀏覽器上流暢,甚至在使用 iOS 的功能較弱的設(shè)備上.CSS 轉(zhuǎn)換在 CSS 轉(zhuǎn)換中表現(xiàn)更好,我將討論稍后.

Isotope takes advantage of the best browser features out there. Instead of using typical left/top styles positioning, Isotope takes a progressive enhancement approach and uses CSS transforms if supported by the browser. This provides for top-notch performance for top-notch browsers. With hardware acceleration kicking in, animations look silky smooth on WebKit browsers, and even less-powerful devices using iOS. CSS transforms perform better with CSS transitions, which I’ll discuss later.

另一個區(qū)別是@AminAriana 指出的許可證.Masonry 屬于 MIT 許可,但 Isotope免費供個人使用.

Another difference is license as @AminAriana pointed out. Masonry is under the MIT license, but Isotope is only free for personal use.

您可以在 此頁面.

這篇關(guān)于Isotope 和 Masonry jQuery 插件之間的區(qū)別的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

【網(wǎng)站聲明】本站部分內(nèi)容來源于互聯(lián)網(wǎng),旨在幫助大家更快的解決問題,如果有圖片或者內(nèi)容侵犯了您的權(quán)益,請聯(lián)系我們刪除處理,感謝您的支持!

相關(guān)文檔推薦

jQuery/JavaScript Library for avatar creation?(用于創(chuàng)建頭像的 jQuery/JavaScript 庫?)
How to do following mask input problem?(如何做以下掩碼輸入問題?)
Issues Setting Value/Label Using DropKick Javascript(使用 DropKick Javascript 設(shè)置值/標(biāo)簽的問題)
how to unit-test private methods in jquery plugins?(如何對 jquery 插件中的私有方法進(jìn)行單元測試?)
stellar.js - configuring offsets / aligning elements for a vertical scrolling website?(stellar.js - 為垂直滾動網(wǎng)站配置偏移量/對齊元素?)
jQuery masked input plugin. select all content when textbox receives focus(jQuery 屏蔽輸入插件.當(dāng)文本框獲得焦點時選擇所有內(nèi)容)
主站蜘蛛池模板: 国产精品网页 | 国产精品久久久久久久久图文区 | 日韩精品一区在线观看 | 国产午夜精品一区二区三区四区 | 亚洲精品综合 | 在线观看欧美一区 | 国产精品一级 | 日韩精品专区在线影院重磅 | 亚洲二区在线 | 亚洲精品68久久久一区 | 欧美日韩综合一区 | 成人免费在线观看视频 | 午夜视频网| 最新中文字幕在线 | 欧美色999 | 密室大逃脱第六季大神版在线观看 | 久久久999精品 | 国产精品一区三区 | 日韩精品网站 | 男女羞羞视频在线免费观看 | 中文字幕亚洲一区 | 日韩电影免费在线观看中文字幕 | 国产免费让你躁在线视频 | 欧美a区 | 国产精品99久久久久久www | 人人干人人干人人干 | 成人影院一区二区三区 | 欧美在线观看一区 | 日韩精品在线播放 | 亚洲国产精品va在线看黑人 | 精品国产一级 | 欧美中文在线 | 自拍偷拍亚洲视频 | 成人在线电影在线观看 | 亚洲一区二区三区在线免费观看 | 亚洲一区二区三区久久久 | 伊人亚洲 | 欧美一区二区三区在线看 | 高清免费av | 亚洲在线高清 | 久久久久久久久99精品 |