Skip to content

💾 Demonstrating the mixin design pattern in JavaScript

Notifications You must be signed in to change notification settings

neelkamath/js-mixins

Repository files navigation

JavaScript Mixins

This project showcases the mixin design pattern using JavaScript. @naveenk2k and I (@neelkamth) made this for PESU's UE18CS341 (Design Patterns) course.

Diagram

Installation

Clone the repo using one of the following methods:

  • SSH: git clone git@github.com:neelkamath/js-mixins.git
  • HTTPS: git clone https://github.com/neelkamath/js-mixins.git

Usage

  • Open object-assign.html in a browser to see the UI demo which uses the Object.assign() technique to implement mixins.
  • Open multiple-inheritance.html in a browser to see the printers demo which uses mixins to implement multiple inheritance.
  • Open person.html in a browser to see another example that makes use of mixins.

About

💾 Demonstrating the mixin design pattern in JavaScript

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages