Collect navbar items from event listeners.