## Synopsis This is a series of web component respecting both the web components standards and the Linked Data Platform convention. They are aimed at enabling anyone with little development skills to create their own web application by placing these components in an HTML file. ## Code Example An full app example can be found in index.html: ## Initialization You first need to load the webcomponents polyfill for the browsers that have not implemented them yet, and import the components you want to use in your HTML file: ```html ``` Then you can use the new tags in your markup, for instance : ``. More details on each component in the following section. ## Components documentation ### sib-router & sib-route Displays a menu and handle the navigation for you. ```html List Form Details ``` `` accepts the following attributes: - **default-route**: The `name` attribute of the default `` displayed. - **route-prefix**: If you app is not run from the root of your domain name, for instance `www.your-domain.com/some-uri`, you should set `route-prefix` to `"some-uri"`. - **use-hash**: If you can't rewrite the URLs on your server, you might want to set this attribute to use `location.hash` instead of `location.pathname` as URLs. `` accepts the following attributes: - **active**: This attribute is present on route being displayed by ``. It is automatically added/removed by `` and should not be tinkered manually. ### sib-link `` accepts the following attributes: - **next**: The `name` attribute of the `` you want to access. Example : ```html See profile ``` ### bind-resources attribute To associate the currently displayed resource to a component, add the `bind-resources` attribute to it. It will set its `data-src` attribute to the currently displayed resource's URL. Example: ```html ``` will result in : ```html ``` ## Events Coming soon... ## License Licence MIT