Function getAttribute

  • Gets attribute item by name

    Parameters

    • name: string

      Attribute name

    Returns IAttributeItem

    Attribute item

    Error if attribute name is not registered