Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IWhereBuilderOpts<Store, PageElementType, PageElementOpts, ListType>

Defines the opts parameter passed to the constructor of ListWhereBuilder.

Type parameters

Hierarchy

  • IWhereBuilderOpts

Index

Properties

cloneFunc

cloneFunc: CloneFunc<ListType>

Creates a copy of ListWhereBuilder's PageElementList which manages a subset of the original list's PageElements.

template

ListType the type of the cloned PageElementList

elementOpts

elementOpts: PageElementOpts

Opts passed to the constructor of PageElements created via ListWhereBuilder's PageNodeStore.

elementStoreFunc

elementStoreFunc: function

A function that returns instances of a PageElements managed by ListWhereBuilder's PageElementList from the ListWhereBuilder's PageNodeStore.

param

the selector of a created PageElement

param

passed to the constructor of the created PageElements

Type declaration

    • (selector: string, opts: PageElementOpts): PageElementType
    • Parameters

      • selector: string
      • opts: PageElementOpts

      Returns PageElementType

getAllFunc

getAllFunc: function

Returns all PageElements manages by ListWhereBuilder's PageElementList.

param

an instance of PageElementList for which all managed PageElements should be returned

Type declaration

    • (list: ListType): PageElementType[]
    • Parameters

      • list: ListType

      Returns PageElementType[]

store

store: Store

An instance of PageNodeStore used by PageNodes which are returned by ListWhereBuilder.

Generated using TypeDoc