Autosize

Uniform size

Item #{{i}} - ({{size}}px)

Increasing size

Item #{{i}} - ({{size}}px)

Decreasing size

Item #{{i}} - ({{size}}px)

Random size

Item #{{i}} - ({{size}}px)

Fixed size

Behavior Auto Instant Smooth Offset Index

Currently scrolled to item: {{scrolledIndex.get(viewport1) || 0}}

Item #{{i}} - ({{size}}px)

Currently scrolled to item: {{scrolledIndex.get(viewport2) || 0}}

Item #{{i}} - ({{size}}px)

Observable data

Item #{{i}} - ({{size}}px)

No trackBy

{{state.name}}
{{state.capital}}

trackBy index

{{state.name}}
{{state.capital}}

trackBy state name

{{state.name}}
{{state.capital}}

Use with <ol>

  1. {{state.name}} - {{state.capital}}

Use with <ul>

Use with <dl>

{{state.name}}
{{state.capital}}

Use with <table>

{{state.name}} {{state.capital}}