Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 846 Bytes

minimap.en-US.md

File metadata and controls

24 lines (18 loc) · 846 Bytes

Minimap

A mini-map that will auto-resize if its width and height have not been specified.

Usage

import GGEditor, { Flow, Minimap } from 'gg-editor';

<GGEditor>
  <Flow />
  <Minimap width={200} height={200} />
</GGEditor>

API

Property Description Type Default
container The id of the container. string -
width The width of the container. number -
height The height of the container. number -
viewportWindowStyle The window style of the viewport. See more on G Drawing Properties (Chinese). object -
viewportBackStyle The background style of the viewport. See more on G Drawing Properties (Chinese). object -