grid-layout

    1.0.0 • Public • Published

    grid-layout

    Parameterized grid layout for CraftML by doubleshow

    Usage

    <craft>
        <craft name="grid-layout" module="grid-layout"/>
        <grid-layout></grid-layout>
    </craft>

    Parameters

    • rows: adjusts number of rows in grid
      • default: 5
    • cols: adjusts number of columns in grid
      • default: 5
    • rowSpacing: adjusts spacing of objects in row
      • default: 5
    • colSpacing: adjusts spacing of objects in column
      • default: 5

    Example

    <craft>
        <craft name="grid-layout" module="grid-layout"/>
        <grid-layout>
            <cube></cube>
        </grid-layout>
    </craft>

    example

    Keywords

    Install

    npm i grid-layout

    DownloadsWeekly Downloads

    2

    Version

    1.0.0

    License

    MIT

    Last publish

    Collaborators

    • calebhsu