npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

vue-element-highlight

v1.0.4

Published

This pack is a component for highlighting links, text, paragraphs or whatever. This package run very well on vue 2 and nuxt 2. You can see the usage of this package in the screenshots and the link below for the demo

Downloads

13

Readme

Vue Element Highlight

This pack is a component for highlighting links, text, paragraphs or whatever. This package run very well on vue 2 and nuxt 2. You can see the usage of this package in the screenshots and the link below for the demo

Screenshots

App Screenshot

App Screenshot

Demo

You can show the demo in here

Installation

Install this package with

  npm i vue-element-highlight

Or if you using yarn, you can execute command

  yarn add vue-element-highlight

Usage/Examples

<template>
  <div id="app">
    <nav class="navbar navbar-dark bg-dark navbar-expand-lg">
      <div class="collapse navbar-collapse" id="navbarSupportedContent">
        <ul class="navbar-nav mr-auto">
          <li class="nav-item">
            <VueElementHighlight :is-active="step === 1" :is-close-label="true" 
              label="You can view the Link menu here" 
              @nextButtonClick="step= 1+1" @closeButtonClick="step = 0">
              <a class="nav-link" href="#">Link</a>
            </VueElementHighlight>
          </li>
        </ul>
      </div>
    </nav>
  </div>
</template>

import VueElementHighlight from 'vue-element-highlight';
export default {
  name: 'App',
  components: {
    VueElementHighlight
  },
  data() {
    return {
      step: 1
    }
  },
}

Props & Event

List all props

you can write this props with kebab-case or camelCase

| Props | Type | Default | Description | | :-------- | :------- | :-------| :------------------------- | | isActive | Boolean | false | is active is main props to show or hidden this component | | isExitOnOutside | Boolean | false | if the value is true, when user click outside of component, event closeButtonClick will triggered | | isCloseLabel | Boolean | false | if the value is true, button close and event closeButtonClick will running | | isNextLabel | Boolean | false | if the value is true, button next and event nextButtonClick will running | | label | String | Lorem ipsum... | Main label displayed | | nextLabel | String | Next | Label for next button | | closeLabel | String | Close | Label for close button | | boxClassCustom | String | | Default '', but you can add css custom class and this class will show beside hgl-box | | position | String | left | We have top and right position |

List all event

you must catch this event by @nextButtonClick="" for example

| Parameter | Value | Description | | :-------- | :------- | :-------------------------------- | | nextButtonClick | Boolean | Event when next button on click | | closeButtonClick | Boolean | Event when close button on click |

Custom styling

You can custom styling of this component by override and mix css class

Tech Stack

Client: Vue 2, Nuxt 2

Origin Repository

See origin repository in here:

let's discuss or contribute for this package

Authors

Support

support me through:

thank you