Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • This allows users to modify the size of a section within the layout according to the grid size.

  • This feature allows for flexible customization, enabling users to resize components to fit their specific needs within the defined grid structure.

    Attribute Name

    Description

    Component Size

    Note: Currently, we support Component Size 1 for Section. All other sizes will throw an error alert displaying Max allowed value is 1 .

    Padding Location

    "Padding Location " typically refers to the configuration of spacing around elements.

    Padding Size

    "Padding Size " refers to the amount of space added inside an element, between the element's content and its border or edge.

    Margin Location

    "Margin Location " refers to the spacing around the outside edge of an element.

    Margin Size

    "Margin Size " refers to the amount of space around the outside edges of an element,.

    Style

    • It is used to apply custom styles to section, such as color, font, size, and more.

    • It allows you to define the appearance of a component by specifying CSS properties directly within the attribute.

    Classes

    It is used to apply SLDS classes to

    section

    component, if needed.

    Layout Type

    It is used to set the layout type in two ways as:

    1. Grid: The Grid Layout Type provides a grid-based layout system consisting of rows and columns. This layout type simplifies the process of designing and structuring a layout, allowing for precise placement and alignment of components within the grid.

    2. Flow: The Flow Layout Type is used for positioning and formatting components within a layout. This layout type allows components to be positioned in relation to each other.

    Note: By default, this attribute is set to a value of Grid Layout Type.

    Grid Size

    It defines the width of the section in terms of grid columns, allowing users to control how much horizontal space the section occupies on the page.

    Flow Type

    It specifies the arrangement of content within the section, allowing users to choose between different layout flows as ‘Fit to content’ or ‘Equally distributed’.

    Show Border

    It is used to simply add border surrounding the section.

    Note: Currently, noKodr supports only black borders.