0.2.0 • Published 1 year ago

borshch v0.2.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

borshch

Tools for vanilla webcomponents.Webcomponents can be used with any rendering lib like angular or react since they are just instances of HTMLElement. But for old browsers you require to use polyfills.

Borshch - is a Ukrainian soup consisting from a lot of ingredients. This lib is a pan of components major ones of which can be used separately and in combination. So enjoy.

VERY IMPORTANT NOTE The project is in ALPHA stage of development, so use it on your own risk (better not:). ANYTHING can be changed at any moment! Since I have no much time for development and supporting the project so don't expect quick feedback. Also bundle is not transpiled, so it will work only in modern browsers.

For usage examples refer to the PlaygroundApp

Components

BorshchElement (extends HTMLElement)

Basic element providing additional api around HTMLElement TODO: api, examples

BorshchComponent (extends HTMLElement, BorshchElement)

Basic component providing additional api around CustomElement TODO: api, examples

BorshchRouter (extends BorshchComponent)

Component for route management of a single page app. Should be used in combination with its subcomponents TODO: api, examples

BorshchDefaultRoute

TODO: docs

BorshchRoute

TODO: docs

BorshchRouteLink

TODO: docs

Mixins

ReflectAttributes

TODO: docs