@nextcloud/dialogs
    Preparing search index...

    Interface SVGNumberList

    The SVGNumberList interface defines a list of numbers.

    MDN Reference

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

    Indexable

    Index

    Properties

    length: number

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

    MDN Reference

    numberOfItems: number

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

    MDN Reference

    Methods

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

      MDN Reference

      Parameters

      Returns SVGNumber

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

      MDN Reference

      Returns void

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

      MDN Reference

      Parameters

      • index: number

      Returns SVGNumber

    • The initialize() method of the SVGNumberList 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 SVGNumber

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

      MDN Reference

      Parameters

      Returns SVGNumber

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

      MDN Reference

      Parameters

      • index: number

      Returns SVGNumber

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

      MDN Reference

      Parameters

      Returns SVGNumber