@nextcloud/dialogs
    Preparing search index...

    Interface SVGLengthList

    The SVGLengthList interface defines a list of SVGLength objects.

    MDN Reference

    interface SVGLengthList {
        length: number;
        numberOfItems: number;
        appendItem(newItem: SVGLength): SVGLength;
        clear(): void;
        getItem(index: number): SVGLength;
        initialize(newItem: SVGLength): SVGLength;
        insertItemBefore(newItem: SVGLength, index: number): SVGLength;
        removeItem(index: number): SVGLength;
        replaceItem(newItem: SVGLength, index: number): SVGLength;
        [index: number]: SVGLength;
    }

    Indexable

    Index

    Properties

    length: number

    The length property of the SVGLengthList interface returns the number of items in the list.

    MDN Reference

    numberOfItems: number

    The numberOfItems property of the SVGLengthList interface returns the number of items in the list.

    MDN Reference

    Methods

    • The appendItem() method of the SVGLengthList interface inserts a new item at the end of the list.

      MDN Reference

      Parameters

      Returns SVGLength

    • The clear() method of the SVGLengthList interface clears all existing items from the list, with the result being an empty list.

      MDN Reference

      Returns void

    • The getItem() method of the SVGLengthList interface returns the specified item from the list.

      MDN Reference

      Parameters

      • index: number

      Returns SVGLength

    • The initialize() method of the SVGLengthList interface clears all existing items from the list and re-initializes the list to hold the single item specified by the parameter.

      MDN Reference

      Parameters

      Returns SVGLength

    • The insertItemBefore() method of the SVGLengthList interface inserts a new item into the list at the specified position.

      MDN Reference

      Parameters

      Returns SVGLength

    • The removeItem() method of the SVGLengthList interface removes an existing item at the given index from the list.

      MDN Reference

      Parameters

      • index: number

      Returns SVGLength

    • The replaceItem() method of the SVGLengthList interface replaces an existing item in the list with a new item.

      MDN Reference

      Parameters

      Returns SVGLength