JS component series BootstrapIcon Selection Component _ javascript tips

Source: Internet
Author: User
This article describes how to select a component for the BootstrapIcon In the js component series. If you are interested in bootstrapicon related knowledge, let's take a look at it: recently, many friends talked about the bootstrap icon in the group. For example, the most common menu management, each menu must have a corresponding menu icon, if there is a visual icon to select the component, it is better to directly select the icon to get the corresponding class style. The various Baidu and Huang Tianyan did not have a good fortune. Finally, they were found by the bloggers. They felt that the effect was good and they supported custom icons. Today, I will share them with you. It's absolutely dry!

I. Bootstrap icon picker component

This component was found during the search on github. It looks good at the beginning and is based on the bootstrap style. Therefore, it is more suitable for projects with the bootstrap style layout. Since it is on github, there is no doubt that this is an open source component and the source code address. Well, let's take a look at how it looks.

1. Component effect Preview

First Initialization

Supports "previous" and "Next"

Allows you to select custom icons.

Fuzzy search icons are supported. For example, you can search for camera.

Select the icon and put the corresponding style in the text box.


2. Component code example (1) common usage

This component is based on bootstrap and jquery. The file to be referenced is as follows:

 
  
  

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.