Function createNavValueString

  • Creates the attribute string value used in the nav() directive when assigning attributes to elements. Formats the data into one of the following:

    • x,y: for 2 dimensional nav
    • x,y,group: for 2 dimensional nav groups
    • group: for 1 dimensional nav groups
    • `` (empty string): for 1 dimensional nav

    Parameters

    • OptionalxOrGroup: number | "group"
    • OptionalyCoord: number
    • OptionalisGroup: "group"

    Returns string