An open API service indexing awesome lists of open source software.

https://github.com/paulkinlan/hackernews-share-button


https://github.com/paulkinlan/hackernews-share-button

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

        

# HackerNews Share Button

The HackerNews Share Button web component provides a simple and customizable
interface for sharing URLs directly to HackerNews.

* Automatically uses the URL, title and description of the page when present
* Allows you to override the URL and text to share to HackerNews.
* Allows you to configure the display with your own text and icons.
* When combined with `` element, it will automatically bind to the
data from it's host component and be embedded in the share control.

[![Published on webcomponents.org](https://img.shields.io/badge/webcomponents.org-published-blue.svg)](https://www.webcomponents.org/element/owner/my-element)

```html

```

## Customize the UI

```html
HackerNews Button
```

## Add an image

```html

```

## Customize the URL to share

```html

```

## Customize the text to share

```html
Attribute Text Test
```

## The full 9 yards

```html
Attribute and URL Test
```