# Display Directive Set `display-directive` to `if` or `show` to determine whether to keep the DOM inside `n-collapse-item` when inactive. ```html
good
good
good
``` ```js export default { data() { return { activeNames: [], activeNames2: [] } } } ```