Coder Social home page Coder Social logo

polymer-japan / lit-html-docs-jp Goto Github PK

View Code? Open in Web Editor NEW
0.0 6.0 0.0 3.62 MB

[WIP] lit-html Japanese docs

Home Page: https://github.com/Polymer-Japan/translation/wiki/201812-Polymer-Project-JP-translate

License: BSD 3-Clause "New" or "Revised" License

JavaScript 0.54% TypeScript 96.52% HTML 2.19% Shell 0.76%

lit-html-docs-jp's Introduction

lit-html

Efficient, Expressive, Extensible HTML templates in JavaScript

Build Status Published on npm Join our Slack Mentioned in Awesome lit-html

Documentation

Full documentation is available at lit-html.polymer-project.org.

Docs source is in the docs folder. To build the site youself, see the instructions in docs/README.md.

Overview

lit-html lets you write HTML templates in JavaScript with template literals.

lit-html templates are plain JavaScript and combine the familiarity of writing HTML with the power of JavaScript. lit-html takes care of efficiently rendering templates to DOM, including efficiently updating the DOM with new values.

import {html, render} from 'lit-html';

// This is a lit-html template function. It returns a lit-html template.
const helloTemplate = (name) => html`<div>Hello ${name}!</div>`;

// This renders <div>Hello Steve!</div> to the document body
render(helloTemplate('Steve'), document.body);

// This updates to <div>Hello Kevin!</div>, but only updates the ${name} part
render(helloTemplate('Kevin'), document.body);

lit-html provides two main exports:

  • html: A JavaScript template tag used to produce a TemplateResult, which is a container for a template, and the values that should populate the template.
  • render(): A function that renders a TemplateResult to a DOM container, such as an element or shadow root.

Installation

$ npm install lit-html

Contributing

Please see CONTRIBUTING.md.

lit-html-docs-jp's People

Contributors

justinfagnani avatar jridgewell avatar keanulee avatar ruphin avatar dfreedm avatar bicknellr avatar rictic avatar aomarks avatar bgotink avatar straversi avatar dependabot[bot] avatar stramel avatar zhaoz avatar patrickjs avatar kevinpschaaf avatar abdonrd avatar web-padawan avatar graynorton avatar arjunyel avatar zeroliu avatar dakmor avatar larsdenbakker avatar cdata avatar usergenic avatar fluorescenthallucinogen avatar alexendoo avatar vikdotdev avatar mysticatea avatar sunesimonsen avatar sunhuawei avatar

Watchers

Kenichiro Kishida avatar James Cloos avatar Tänak avatar Kazuyoshi Kawakami avatar icho avatar takanorip avatar

lit-html-docs-jp's Issues

翻訳作業メモ

ビルド方法

12/8 Cloud Buildで自動デプロイに対応

Requirements

Setup

git clone https://github.com/Polymer-Japan/lit-html-docs-jp
cd lit-html-docs-jp
git checkout -b jp-transrate

Install

npm install
npm gen-docs
cd docs
npm run build
npm run serve # or jekyll serve -w
# deploy
gcloud app deploy
  • 12/7 現在Polymer-jp.orgのGCPプロジェクトで稼動できないか @aggre さんに確認をしてもらっている

cloud buildの設定メモ

  1. cloudbuild.yamlをつくっておき、
  2. Source RepositoryでGitHubとの連携を設定
  3. Cloud BuildのAPIを有効化して、
  4. IAMの数字@cloudbuild.gserviceaccount.comに対してApp Engineの権限割り当て
  5. Cloud Buildで「トリガー」を作成

ステータス

  • slackに報告、相談
  • _guide/03-template-reference.md 未着手
  • _guide/04-concepts.md 現状ばっくり

作業予定

  • 週明け(-12/10)までに全般的にある程度読める状態にする

TODO

  • jp-transrate -> jp-translate...
  • 用語の使い方や統一の相談
  • LitElementやPWA Starter Kitまでできるかな?
  • 本家との相談

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.