open-consul/ui/packages/consul-ui/app/components/paged-collection/index.hbs

21 lines
458 B
Handlebars

{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}
{{yield (hash
items=this.items
page=@page
pane=(fn this.setPane)
resize=(fn this.resize)
viewport=(fn this.setViewport)
rowHeight=(fn this.setRowHeight)
maxHeight=(fn this.setMaxHeight)
startHeight=this.startHeight
totalHeight=this.totalHeight
totalPages=this.totalPages
Pager=(if (eq type "index") (component 'yield') '')
)}}
{{will-destroy this.disconnect}}