コンテンツにスキップ

Polymer

出典: フリー百科事典『ウィキペディア(Wikipedia)』
Polymer
Polymer Project logo
開発元 Google[1]とコントリビューターたち[2]
初版 2015年5月29日 (9年前) (2015-05-29)[3]
最新版

3.0.2, 2.5.0, 1.11.3 / 2018年5月9日 (6年前) (2018-05-09)[5], 2018年2月13日 (6年前) (2018-02-13)[6]

最新評価版

3.0[4] / 2018年1月18日 (6年前) (2018-01-18)

リポジトリ ウィキデータを編集
プログラミング
言語
JavaScriptHTML
種別 JavaScriptライブラリ
ライセンス 3-Clause BSD[7]
公式サイト www.polymer-project.org
テンプレートを表示

Polymerpolymer Web Components使JavaScriptGoogleGitHubGoogleMaterial Design

PolymerGooglePolymerYouTubeYouTube Gaming[8]Google EarthGoogle I/OGoogle Play MusicGoogleAllo[9]

NetflixElectronics ArtsINGCoca-ColaMcDonald'sBBVAIBMGeneral Electric

[]


Polymer20131114Promises PolyfillPolymerMaterial Design"Core""Paper"Web

CorePaperMaterial Design0.5[10]

Google0.5Polymer2015Polymer1.0production ready[11] 1.0Polymer7[12]1.0GooglePolymer2Webwebcomponents-sugaring

2015914-15GooglePolymer Summit

20161017-18GooglePolymer Summit

2017822-23GooglePolymer Summit

201852PolymerPolymerLitElement[13]Polymer[14]1[15]

[]


PolymerWeb 



1

computed




[]


Polymer[16][?]

[]


ES使CSSHTMLDOMJavaScript
import {PolymerElement, html} from '@polymer/polymer/polymer-element.js'

class HelloElement extends PolymerElement {
  
static get template() { return html`
    <style>
      /* Local DOM CSS style */
    </style>
    <!-- Local DOM -->
    Hello {{name}}!    
`; }
  
static get is() { return 'hello-element'; }
static get properties() {
   return {
      name: {
        type: String
       }
      /* Element properties */
   }
}
/* Custom methods */
}
window.customElements.define(HelloElement.is, HelloElement);

上記のように定義したエレメントは、HTMLコード内で次のように使用することができる。

<hello-element name="World"></hello-element>

関連項目[編集]

参考文献[編集]



(一)^ AUTHORS.txt (). 2017818

(二)^ CONTRIBUTORS.txt (). 2017818

(三)^ 1.0 (). Polymer Project. 2017818

(四)^ Polymer 3.0: New year, new preview (). Polymer Project. 2018319

(五)^ Releases · Polymer/polymer (). GitHub. 2018319

(六)^ Releases · Polymer/polymer (). GitHub. 201855

(七)^ polymer/LICENSE.txt at master (). GitHub. 2017424

(八)^ Bidelman (2017418). Mission accomplished: has been componentized. New @googleearth is built w/ #WebComponents using @polymer.pic.twitter.com/h76ztfynYy. @ebidel. 201778

(九)^ Who's using Polymer?. GitHub. 201664

(十)^ Polymer gives us a closer look at Google's Material Design UI. Android Authority. 2018129

(11)^ Steven Max Patterson (2015529). Googles Polymer 1.0 brings reuse and better branding to Web development. CIO. 2018129

(12)^ Welcome - Polymer 1.0. 20158142018129

(13)^ Roadmap update, part 1: 3.0 and beyond. 2018129

(14)^ Justin Fagnani on Twitter (). Twitter. https://twitter.com/justinfagnani/status/994358200538349568 2018514 

(15)^ Roadmap update, part 2: FAQ - Polymer Project (). www.polymer-project.org. 2018514

(16)^ Allie Coyne (2015813). Inside ING Direct's new lego block app architecture. iTnews. 2018129

外部リンク[編集]