Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
Backbone
ChildViewContainer
Class ChildViewContainer
Index
Constructor methods
constructor
Methods
add
all
any
apply
call
contains
detect
each
every
filter
find
findByCid
findByCustom
findByIndex
findByModel
findByModelCid
first
forEach
include
initial
invoke
isEmpty
last
lastIndexOf
map
pluck
reject
remove
rest
select
some
toArray
without
Constructor methods
constructor
(
initialViews
?:
Array<any>
)
:
ChildViewContainer
Parameters
initialViews?:
Array<any>
optional
Returns
ChildViewContainer
Methods
public
add
(
view
:
View
, customIndex
?:
number
)
:
any
Parameters
view:
View
customIndex?:
number
optional
Returns
any
public
all
(
iterator
:
(element: Backbone.View<TModel>, index: number) => boolean
, context
?:
any
)
:
boolean
Parameters
iterator:
(element: Backbone.View<TModel>, index: number) => boolean
context?:
any
optional
Returns
boolean
public
any
(
iterator
:
(element: Backbone.View<TModel>, index: number) => boolean
, context
?:
any
)
:
boolean
Parameters
iterator:
(element: Backbone.View<TModel>, index: number) => boolean
context?:
any
optional
Returns
boolean
public
apply
(
method
:
any
, args
?:
Array<any>
)
:
any
Parameters
method:
any
args?:
Array<any>
optional
Returns
any
public
call
(
method
:
any
)
:
any
Parameters
method:
any
Returns
any
public
contains
(
value
:
any
)
:
boolean
Parameters
value:
any
Returns
boolean
public
detect
(
iterator
:
(item: any) => boolean
, context
?:
any
)
:
any
Parameters
iterator:
(item: any) => boolean
context?:
any
optional
Returns
any
public
each
(
iterator
:
(element: Backbone.View<TModel>, index: number, list?: any) => void
, context
?:
any
)
:
any
Parameters
iterator:
(element: Backbone.View<TModel>, index: number, list?: any) => void
context?:
any
optional
Returns
any
public
every
(
iterator
:
(element: Backbone.View<TModel>, index: number) => boolean
, context
?:
any
)
:
boolean
Parameters
iterator:
(element: Backbone.View<TModel>, index: number) => boolean
context?:
any
optional
Returns
boolean
public
filter
(
iterator
:
(element: Backbone.View<TModel>, index: number) => boolean
, context
?:
any
)
:
View
[]
Parameters
iterator:
(element: Backbone.View<TModel>, index: number) => boolean
context?:
any
optional
Returns
View
[]
public
find
(
iterator
:
(element: Backbone.View<TModel>, index: number) => boolean
, context
?:
any
)
:
View
Parameters
iterator:
(element: Backbone.View<TModel>, index: number) => boolean
context?:
any
optional
Returns
View
public
findByCid
(
cid
:
any
)
:
View
Parameters
cid:
any
Returns
View
public
findByCustom
(
index
:
number
)
:
View
Parameters
index:
number
Returns
View
public
findByIndex
(
index
:
number
)
:
View
Parameters
index:
number
Returns
View
public
findByModel
(
model
:
any
)
:
View
Parameters
model:
any
Returns
View
public
findByModelCid
(
modelCid
:
any
)
:
View
Parameters
modelCid:
any
Returns
View
public
first
(
)
:
View
Returns
View
public
forEach
(
iterator
:
(element: Backbone.View<TModel>, index: number, list?: any) => void
, context
?:
any
)
:
any
Parameters
iterator:
(element: Backbone.View<TModel>, index: number, list?: any) => void
context?:
any
optional
Returns
any
public
include
(
value
:
any
)
:
boolean
Parameters
value:
any
Returns
boolean
public
initial
(
)
:
View
Returns
View
public
initial
(
n
:
number
)
:
View
[]
Parameters
n:
number
Returns
View
[]
public
invoke
(
methodName
:
string
, arguments
?:
Array<any>
)
:
any
Parameters
methodName:
string
arguments?:
Array<any>
optional
Returns
any
public
isEmpty
(
object
:
any
)
:
boolean
Parameters
object:
any
Returns
boolean
public
last
(
)
:
View
Returns
View
public
last
(
n
:
number
)
:
View
[]
Parameters
n:
number
Returns
View
[]
public
lastIndexOf
(
element
:
View
, fromIndex
?:
number
)
:
number
Parameters
element:
View
fromIndex?:
number
optional
Returns
number
public
map
(
iterator
:
(element: Backbone.View<TModel>, index: number, context?: any) => any[]
, context
?:
any
)
:
Array<any>
Parameters
iterator:
(element: Backbone.View<TModel>, index: number, context?: any) => any[]
context?:
any
optional
Returns
Array<any>
public
pluck
(
attribute
:
string
)
:
Array<any>
Parameters
attribute:
string
Returns
Array<any>
public
reject
(
iterator
:
(element: Backbone.View<TModel>, index: number) => boolean
, context
?:
any
)
:
View
[]
Parameters
iterator:
(element: Backbone.View<TModel>, index: number) => boolean
context?:
any
optional
Returns
View
[]
public
remove
(
view
:
View
)
:
any
Parameters
view:
View
Returns
any
public
rest
(
)
:
View
Returns
View
public
rest
(
n
:
number
)
:
View
[]
Parameters
n:
number
Returns
View
[]
public
select
(
iterator
:
any
, context
?:
any
)
:
Array<any>
Parameters
iterator:
any
context?:
any
optional
Returns
Array<any>
public
some
(
iterator
:
(element: Backbone.View<TModel>, index: number) => boolean
, context
?:
any
)
:
boolean
Parameters
iterator:
(element: Backbone.View<TModel>, index: number) => boolean
context?:
any
optional
Returns
boolean
public
toArray
(
)
:
Array<any>
Returns
Array<any>
public
without
(
values
?:
Array<any>
)
:
View
[]
Parameters
values?:
Array<any>
optional
Returns
View
[]
Globals
Backbone
Backbone.Wreqr
Marionette
backbone
backbone
jquery
underscore
emulateHTTP
emulateJSONBackbone
history
AddOptions
CollectionFetchOptions
HistoryOptions
ModelDestroyOptions
ModelFetchOptions
ModelSaveOptions
ModelSetOptions
NavigateOptions
Parseable
PersistenceOptions
RouterOptions
Silenceable
Validable
ViewOptions
Waitable
ChildViewContainer
constructor
add
all
any
apply
call
contains
detect
each
every
filter
find
findByCid
findByCustom
findByIndex
findByModel
findByModelCid
first
forEach
include
initial
invoke
isEmpty
last
lastIndexOf
map
pluck
reject
remove
rest
select
some
toArray
without
Collection
Events
History
Model
ModelBase
Router
View
ajax
noConflict
setDomLibrary
sync