createSourceBookfunction
Makes the sources of one view.
Import it
import { createSourceBook } from "@johnmorrisdotca/chikyu-earth/door";
Definition
function createSourceBook(options?: SourceBookOptions): SourceBook
Parameters
| Name | Type | Description |
|---|---|---|
options (optional) | SourceBookOptions | The kinds the view draws. |
Returns
SourceBook
The book.
Examples
import { createSourceBook } from "@johnmorrisdotca/chikyu-earth/door";
const book = createSourceBook({ kinds: ["tiles"] });
console.log(book.active().length);0What it prints (run when this page was built)