From fe31d87512c5f1e926941acc492e78a0ac8c3c91 Mon Sep 17 00:00:00 2001 From: amiceli Date: Wed, 15 Jul 2020 19:00:58 +0200 Subject: [PATCH] publish temporary version waiting merge pull request on shareon original repo. --- README.md | 92 ++---------------------------------------------- package.json | 8 ++--- rollup.config.js | 20 +++++------ 3 files changed, 17 insertions(+), 103 deletions(-) diff --git a/README.md b/README.md index ec7c904..55f354f 100644 --- a/README.md +++ b/README.md @@ -1,93 +1,7 @@ # shareon -Postal Horn emoji +I'm not shareon maintainer. -Lightweight, stylish and ethical share buttons. +I just publish a specific version waiting my pull request will be merged. -- **Small.** Dependency-free. CSS+JS bundle is only 6 KB minified and gzipped. -- **Stylish.** Uses official vector logos and colors with no visual mess. -- **Ethical.** Embeds no tracking code. JS is required only for the setup. - -shareon example - ----- -Observe the live demo here: [shareon.js.org](https://shareon.js.org) - -## Install - -Include the link to shareon's JS and CSS in your website: - -```html - - -``` - -or install it via NPM use it in a JS file that you will bundle: - -```sh -npm install shareon -# or -yarn add shareon -``` - -```js -require('shareon'); -``` - -## Usage - -> shareon was heavily inspired by [Likely](https://ilyabirman.net/projects/likely/), - and has a backwards-compatible API (excluding themes and sizes). - -Create a container with class `shareon` and populate it with elements, whose -classes match the names of social networks: - -```html -
- - - - - - - - - - - - -
-``` - -If you use ``, the buttons will get a `href`-attribute to them. In other cases -they will get a listener on `click` event, so you can use `