三个常用模式,切换简单;
为了提供一个在不同实现之间切换的简单方法,我们将提供一个接口和一个工厂。
In order to provide an easy way to switch between different implementations, we'll provide an interface and a factory.
因为可以使用CSS控制这两种布局,所以我们选用一种简单的样式切换技术。
Since we could control both layouts using CSS, we chose to use a simple style-switching technique.
应用推荐