greystate / componentize Goto Github PK
View Code? Open in Web Editor NEWThe way I do "component-based" frontend development, includes using this to view the individual components
License: MIT License
The way I do "component-based" frontend development, includes using this to view the individual components
License: MIT License
I always use this, and I always forget that it never exists before I've added it :)
And it's used within the componentize context, so makes sense to add it here.
When viewing the components on a mobile/compact screen, put the component name on top of the component and let the component use the full width.
The script file should be renamed to componentize.coffee
(and thus, the dist file becomes componentize.js
When adding the .solid-bg
class to a component, it should be possible to also specify the color if necessary, using a CSS custom property, e.g.:
<div class="component solid-bg" style="--bg-color:#ff8000;">
In the Google Chrome browser, the Table Of Contents overlay is not sorted alphabetically.
Problem's here in the toc.js file:
items.sort((a, b) => a.dataset.title > b.dataset.title)
The sort
function should return either 1
or -1
instead of true
/ false
as it currently does.
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.