Text Highlighter Library For Vue.js

Vue Text Highlighter is a simple and lightweight text highlighter for Vue.js that makes it easy to highlight specific characters within the text.

javascript highlight text in textarea, javascript text highlight library, javascript highlight element, jquery highlight text, javascript select text

Colorize Characters In Text Highlight Words in a String | Word Highlighter

How to make use of it:

Installation

npm install --save vue-text-highlight
# or
yarn add vue-text-highlight

Usage

import Vue from 'vue';
import TextHighlight from 'vue-text-highlight';

Vue.component('text-highlight', TextHighlight);

// new Vue ...
<template>
  <text-highlight :queries="queries">{{ description }}</text-highlight>
</template>
data() {
  return {
    queries: ['birds', 'scatt'],
    description: 'Tropical birds scattered as Drake veered the Jeep'
  };
}

Vue Text Highlighter Plugin/Github


See Demo And Download

Official Website(AlbertLucianto): Click Here

This superior jQuery/javascript plugin is developed by AlbertLucianto. For extra Advanced Usages, please go to the official website.

Related Posts

Star-Rating-Plugin

Star Rating Plugin Control Based On Radio Buttons

Star Rating Radio Buttons, the star rating plugin is a plugin for the jQuery Javascript library that creates a non-intrusive star rating control based on a set…

QR-Code-With-Pure-JavaScript

A Pure QRCode Encode and Decode JavaScript Library | Decoding/Encoding

QR Code With Pure JavaScript – A pure JavaScript QRCode encode and decode library. QR code encoder and decoder instruments help you shortly generate QR codes from…

Vertical-3-Dot-Context-Menu

Simple and Lightweight Vertical 3-Dot Context Menu

The 3-dot Context Menu allows for a simple and lightweight implementation to show 3 vertical dots allowing the user to click and show a menu. Below is…

Pure-JavaScript-Toast-Notification

Pure Toast Notification JavaScript Library | Toastify JS

Toast Notification JavaScript – Toastify JS is an easy, lightweight, vanilla JavaScript library used for sending stackable, non-blocking toast messages to end customers. Features Multiple stacked notifications…

bootstrap-bs-dialogs

Dialogs Based on Bootstrap 5 Modal Component | BS-DIALOGS

BS-DIALOGS is a small library for creating modal windows for notification and input using the Bootstrap 5 modal. It automatically handles DOM processing and provides callbacks to…

image-carousel-slider-cut-js

Creating Swipeable Image Carousel | Slider-cut

slider-cut is a modern, responsive, effective, and easy-to-use mobile circular component that enables you to rotate through images by mouse drag and touch gestures or by pressing…