SheetXL - v0.3.20
    Preparing search index...

    Interface IMovableCollection

    Holds a collection of IMovables.

    interface IMovableCollection {
        add(options?: IMovableCollection.AddOptions): Promise<IMovable>;
        addImage(
            image: string | IResource | IResourceCollection.AddOptions,
            options?: IMovableCollection.AddOptions,
        ): Promise<IMovable>;
        addListeners(listeners: IListeners, options?: IListener.Options): Remove;
        getCount(): number;
        search(options?: IMovableCollection.SearchOptions): IMovable[];
        updateSelected(update: (movable: IMovable) => void, action?: string): void;
    }

    Hierarchy (View Summary)

    Index

    Methods

    • Add Listeners.

      Parameters

      Returns Remove

      IListener.ISource.addListeners

    • Returns the total items available.

      Returns number

      Useful as a quick escape for search.

    • Update all of the selected movable in a single transaction

      Parameters

      • update: (movable: IMovable) => void
      • Optionalaction: string

      Returns void