mirror of
https://github.com/jlengrand/open-wc.git
synced 2026-03-10 08:31:19 +00:00
- replace all occurances of NewsApp with BreweryApp - replace all occurances of news-app with brewery-app - replace all occurances of news-article with brewery-detail - add json response object example for openbreweryDB api in section 3 - remove google news api specific api registration and api key from section 3 - add link to the brewery api and the documentation in section 3 - add additional notification block with link to the documentation of the openbreweryDB api - change the fetch functions jsonResponse. The jsonResponse contains the content already, removing the .articles object property - rename title and description from article items to name and type of brewery - add additional brewery property city for the brewery-detail component - change read/unread to visited/not-visited status for breweries - change read/unread counter to visited/not-visited counter with addional textual change naming not-visisted breweries "still to go" breweries in the counter list - change name of CustomEvent toggle-visited-status respectively - change the name of filterRead to filtersVisited / and non-visited respectively - change templateName in example to BeerTemplate with beer passing (parameter) Signed-off-by: Tobias Kuppens Groot <tkuppensgroo@uos.de>
Open-wc codelabs
Contributing
Codelabs are written in markdown, h1 (#) indicates the codelab title and each h2 (##) indicates a codelab step. You can embed links, images and code snippets. See example-codelabs for more info.
To display notifications, you can use a aside:
<aside class="notice">...</aside>
Possibles classes are: notice, special, warning, callout
You can view the result of a codelab by running the codelab build. This will output the codelab index.html under /docs/.vuepress/public/codelabs. You can open it with any browser.
Codelabs are output using the Google Codelab tools. See https://github.com/googlecodelabs/tools for the full documentation.