1.1.0 • Published 5 years ago

dev-feed v1.1.0

Weekly downloads
4
License
MIT
Repository
github
Last release
5 years ago

<dev-feed>

Displays a feed for a dev.to user

This web component follows the open-wc recommendation.

Installation

npm i -S dev-feed
npx @pika/web

Usage

<script type="module" src="/web_modules/dev-feed.js"></script>

<dev-feed username="bennypowers" sort="date" show-descriptions></dev-feed>

Styling

Exposes the following CSS Custom Properties

PropertyDescriptionDefault
--dev-feed-marginmargin property of the main element15px
--dev-feed-paddingpadding property of the main element25px
--dev-feed-max-widthmax-width of the main element604px
--dev-article-marginmargin of each article element10px 0 0 0
--dev-article-max-widthmax-width of each article element604px
--dev-article-paddingpadding property of each article element12px
--dev-article-avatar-sizesize of the user avatar in each article48px 0 0 0
1.1.0

5 years ago

1.0.3

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago