Skip to content

An example of plugin architecture on integrating different features on frontend components as of lazy-loading-plugin is added to a navigation bar on this example.

Notifications You must be signed in to change notification settings

semiherd/lazyloading-eventbus-pattern

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Modular Plugin Architecture – add/remove plugins easily

Lazy Loading – images/icons loaded only when visible via Intersection Observer.

Safe Initialization – Accessibility plugin subscribes only after all elements are rendered.

Destroy Methods – all plugins can remove event listeners cleanly to avoid memory leaks.

Event Bus - By Encapsulating and Isolating Event Bus Class we can create Custom Event Bus Implementation on the wrapper which makes it more scalable in need of more complex Event Handling

About

An example of plugin architecture on integrating different features on frontend components as of lazy-loading-plugin is added to a navigation bar on this example.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published