--- layout: default nav: attributes > ic-limit-children ---

## `ic-limit-children` - The Limit Children Attribute

### Summary

The `ic-limit-children` allows you to limit the number of children an element can have after a `ic-append-from` or `ic-prepend-from` fires.

### Syntax

The value of the attribute should be a valid integer.

### Example

Here is a simple example, using a poll interval to update:

      <ul ic-append-from="/list_src" ic-poll="2s" ic-limit-children="5"></ul>