リファレンス
/chart/element
import { … } from "@johnmorrisdotca/hoshi-stars/chart/element";
最小化と gzip 圧縮をしたサイズは 222.3 kB(読み込むものをすべて含み、esbuild で計測)
リファレンスの説明と例は英語です。見出しと目次は日本語です。
エクスポート
| 名前 | 種類 | 概要 |
|---|---|---|
CHART_TAG | 定数 | The tag, defined by @johnmorrisdotca/hoshi-stars/chart/define. |
ChartMarkerDetail | 型 | What hoshi-marker says: a marker was clicked, tapped, or chosen with Enter or Space while it had the focus. |
ChartPick | 型 | What hoshi-pick says: a body of the page's bodies (kind body, id its own, with names), a star (id its HR number, with accuracy: its grade, the distance range and the position resolution), a deep-sky object (M42), a black hole (cygnus-x-1), a figure (id the figure's, with abbreviation for a constellation), or nothing (kind none). |
ChartViewDetail | 型 | What hoshi-view says: where the chart looks now, and final once the hand has settled. |
HoshiChartElement | クラス | The sky chart as an element: <hoshi-chart constellation="Ori"></hoshi-chart>. |
View | 型 | Where the chart looks: the projection, the point in the middle (degrees) and the zoom, in the chart's own unit: 1 fits the projection's whole sky in the smaller side, more is closer. |
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。