jComponent is a client-side library for creating reausable UI components. This library contains everything what you need for creating Single Page Applications or parts for your web sites, web applications or e-commerce. jComponent library is built on top of jQuery. Total.js products use jComponent library.
I have prepared several implementations of jComponent for different cases. The base point of jComponent is to create reusable components without complicated tools and dependencies. jQuery is the only one dependency for jComponent.
Filename | Contains |
---|---|
jc.min.js | jComponent + Helpers |
jcta.min.js | jComponent + Tangular + Helpers |
jctajr.min.js | jComponent + Tangular + jRouting + Helpers |
spa.min.js | jQuery + jComponent + Tangular + jRouting + Helpers |
spa.min.css | Bootstrap Grid System + Font-Awesome |
String
, Date
, Number
, Array
prototypes and much moreI recommend to use latest version of jComponent from our CDN hosted on KeyCDN:
v18:
CDN |
---|
https://cdn.componentator.com/spa.min@18.js |
https://cdn.componentator.com/spa.min@18.css |
v17:
CDN |
---|
https://cdn.componentator.com/spa.min@17.js |
https://cdn.componentator.com/spa.min@17.css |
v16:
CDN |
---|
https://cdn.componentator.com/spa.min@16.js |
https://cdn.componentator.com/spa.min@16.css |
spa.min@16.css
, spa.min@17.css
spa.min@18.css
classesThis CSS library contains:
b
font-weight bold
m
margin-bottom 15px
np
padding 0
npt
padding-top 0
npb
padding-bottom 0
nmt
margin-top 0
nmb
margin-bottom 0
mt5
margin-top 5px
mt10
margin-top 10px
mr5
margin-right 5px
table-small
a small tablepadding
padding 20px
link
a link class (can be used for <span>
too)help
a simple small info message, e.g. <div class="help">Field is required</div>
ui-dark
preddefined <body>
class with dark background and light foreground colorred
foreground red colorblue
foreground blue colorgreen
foreground green colorsilver
foreground silver colornoscrollbar
hides vertical scrollbars +v17
hellip
crops the string with hellip ...
+v18
added the classes below automatically when the document is ready:
jc-chrome
jc-opera
jc-edge
jc-firefox
jc-safari
jc-ie
jc-electron
jc-samsungbrowser
jc-mac
jc-linux
jc-windows
jc-webos
jc-ios
jc-android
jc-desktop
jc-mobile
jc-table
jc-tv
jc-lg
large displayjc-md
medium displayjc-sm
small displayjc-xs
extra small displayjc-nocookies
disabled cookies
jc-nostorage
disabled localStorage
jc-touch
device supports touchesjc-standalone
standalone app