nominalaeon / french-dip Goto Github PK
View Code? Open in Web Editor NEWA flexible, light-weight module for creating custom components
Home Page: https://nominalaeon.github.io/french-dip
License: MIT License
A flexible, light-weight module for creating custom components
Home Page: https://nominalaeon.github.io/french-dip
License: MIT License
Users should be able to undo a FrenchDip instance.
FrenchDip.destroy();
In thinking this out, it seems like this method should be the responsibility of the component being registered.
The class-name selector is irrelevant since we have the french-dip attribute to hook into.
Change the _getComponentAttrs() method to make an array of component names instead of an object with componentName=>className
Fix documentation and demo index.html examples
Instead of assigning a component/class to the global FrenchDip object, pass the component/class object into a public method on FrenchDip
FrenchDip.registerComponent(ClassName);
This will reduce session memory usage and give users a more standardized way to invoke FrenchDip.
Convert the HTML frenchdip attribute to a data attribute: "data-frenchdip"
Fix in documenation, demo index.html, and frenchdip.js
The incompatibilities are worse than I was expecting, affecting more than just ≤IE8.
Need to take out the arrow function and "let" declaration and anything else too futuristic for lolly-gagger browsers
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.