You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to know if you have already thought about making docsify in a web component. You all have already thought about making docsify in a web component?
what is web component?
Web Components is a suite of different technologies allowing you to create reusable custom elements — with their functionality encapsulated away from the rest of your code — and utilize them in your web apps.
my idea and concept
<!doctype html><html><head><!-- /* required tags */ --><metacharset="utf-8"><!-- /* Imports docsifyjs with cdn external */ --><scriptsrc="https://unpkg.com/docsifyjs@5"></script><!-- /* Imports polyfill with cdn external */ --><scriptsrc="https://cdnjs1.com/ajax/libs/webcomponents/webcomponents-lite.min.js"></script><!-- /* Imports custom element with cdn external */ --><linkrel="import" href="https://cdn.docsifyjs.com/ajax/libs/webcomponents/button.html"><title>cdn for docsify</title></head><body><!-- Runs custom element from cdn1, cdn2 | have a button POST a click via AJAX --><buttontype="docsify" hx-post="/clicked" hx-swap="outerHTML" documentation-message="Click Me and start download file"></button></body></html>
code-description: As we can see there is a cdn for the docsify library, a modular cdn for the docsify frontend. As we noticed, there is a highly functional, modular, componentized, reusable code.
why?
This allows for greater componentization
More componentization means more integration and plugins
More integration and plugin means more developers, users, companies or more community for developer
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hi everyone.
Idea
I would like to know if you have already thought about making docsify in a web component. You all have already thought about making docsify in a web component?
what is web component?
Web Components is a suite of different technologies allowing you to create reusable custom elements — with their functionality encapsulated away from the rest of your code — and utilize them in your web apps.
my idea and concept
code-description: As we can see there is a cdn for the docsify library, a modular cdn for the docsify frontend. As we noticed, there is a highly functional, modular, componentized, reusable code.
why?
question/feedback
What do you all think of the idea?
All reactions