<shogi-player>
<shogi-player>
is a web component made with LitElement.
It can represent the shogi board and hand pieces and also edit them.
As easy as HTML
<shogi-player>
is just an HTML element. You can it anywhere you can use HTML!
<shogi-player></shogi-player>
Configure with attributes
<shogi-player>
can be configured with attributed in plain HTML.
<shogi-player title="Title"></shogi-player>
Declarative rendering
<shogi-player>
can be used with declarative rendering libraries like Angular, React, Vue, and lit-html
import {html, render} from 'lit-html';
const title = 'lit-html';
render(
html`
<h2>This is a <shogi-player></h2>
<shogi-player .title=${title}></shogi-player>
`,
document.body
);