Git Product home page Git Product logo

kh-popover's Introduction

README

Kh-Popover

Build Status Coverage Status Coverage Status

popover build for vuejs framework.

kh-popover package links :

Getting Started

this packages still in dev mode ( after all this is my first package x) )

Installing

npm installation :

npm i kh-popover

yarn installation :

yarn add kh-popover

Usage

import Popover from 'kh-popover';
require('kh-popover/dist/kh-popover.css');

export default {
	components:{
		'kh-popover':KhPopover
	}
}

Attributes

  • user : Object. of { id, name, photo, avatar, email }
  • position : String. define popover position ['auto','top','bottom'] // defaukt : auto > adapted to be centred in screen
  • trigger : String. accept two options ['hover','click'] // default : 'hover' > popover displayed on hover event
  • name : Boolean. to display given user's name // default : false it will show avatar not user name
  • icon : Boolean. to display avatar // defaukt : true

Slots

  • avatar : where avatar located
  • content : where popover core is located ( include both [ content_info, content_actions ])
  • content_info : where popover header is located
  • content_actions : where popover footer is located

kh-popover's People

Contributors

khofaai avatar

Stargazers

 avatar

Watchers

James Cloos avatar Mohamed El Mrabet avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.