The Mip-filter filter component describes how the Mip-filter filter component is used

Source: Internet
Author: User
Tags hash

Title Content
Type General
Support layout Responsive,fixed-height,fill,container,fixed Document
The required script Https://mipcache.bdstatic.com/static/v1/mip-filter/mip-filter.js

Example

filtering, which supports filtering items from the hash.

<mip-filter mip-filter-filterwrap= ". Filter" mip-filter-itemwrap= ". Filter-item-wrap "Mip-filter-enablehash=" True >

<sidebar class= "Filter" >

<div class= "Filter-result" ></div>

<ul class= "Filter-list" >

<li class= "Filter-title" >

<div class= "Filter-link" data-filtertype= "All" > View all

<spanclass= "Filter-num" >3</span></div>

</li>

<li class= "Filter-title" >

<div class= "Filter-link" data-filtertype= "widget" > (widget) component <span class= "Filter-num" >2</span> </div>

</li>

<li class= "Filter-title" >

<div class= "Filter-link" data-filtertype= "Layout" > (layout) component layout <span class= "Filter-num" >1</span> </div>

</li>

</ul>

</sidebar>

<div class= "Filter-item-wrap" >

<div class= "Filter-item" data-filtertype= "widget" >

<span> (widget) components new </span>

</div>

<div class= "Filter-item" data-filtertype= "Layout" >

<span> (layout) Advertising component Layout upgrade </span>

</div>

<div class= "Filter-item" data-filtertype= "widget" >

<span> (widget) Beta release </span>

</div>

</div>

</mip-filter>

Property

Mip-filter-filterwrap

Description: Filter button DOM

Required option: Yes

Type: string

Value: Document.queryselector () can fill in the contents, such as ". Box"

Mip-filter-itemwrap

Description: Filter Item DOM

Required option: Yes

Type: string

Value: Document.queryselector () can fill in the contents, such as ". Box"

Mip-filter-enablehash

Description: Whether hash control is supported

Required option: No, type: string

Take value: True, False

Default value: True

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.