jComponent V20 20.015
The current jComponent library for the browser. Choose it for new user interfaces, reusable components and single-page applications.
Getting started
-
Introduction
What jComponent is, the ideas it is built on and what the library includes.
-
Getting started
Build a working page with bound data and a custom component, starting from an empty file.
-
Migrating from jComponent 19
Replace every removed or changed jComponent 19 API with its jComponent 20 equivalent, including the changes that fail without an error.
-
Global functions
The functions and variables that the library adds to the window object.
-
DEF
The default settings of the library.
Core concepts
-
Paths
How to address, read, change and watch values of the model with string paths.
-
Flags and path modifiers
How flags change the behaviour of an operation on a path and how path modifiers shorten paths.
-
Data binding
How to render values of the model into the page with ui-bind and keep inputs and the model in sync.
-
MAIN
The main object of the library, with its state and its low-level methods.
-
PREF
Persistent user preferences.
-
Events
The events emitted by the library.
-
Path
The properties and the methods of a parsed path.
-
ui-bind
The attributes and the commands of the ui-bind element.
Components
-
Using components
How to place components on a page, configure them, find them and call their methods.
-
Creating components
How to declare your own components, handle values and configuration, validate input and clean up.
-
ui-component
The attributes and the config keys of the ui-component element.
-
Component
The properties, the methods and the delegates of a component instance.
Applications
-
Plugins
How to group the data, the logic and the markup of one part of an application into a plugin.
-
Importing content
How to load scripts, stylesheets and HTML parts into a running page with IMPORT() and the ui-import element.
-
Templates with Tangular
How to write templates with Tangular: values, conditions, loops and helpers.
-
Routing
How to map URLs to functions in a single-page application with ROUTE(), REDIRECT() and NAV.
Reference 43 -
Forms and validation
How to build a form from components, validate it, show errors, submit it and reset it.
-
Localization
How to translate texts and adapt dates, numbers and currencies to a language.
-
ui-plugin
The attributes and the config keys of the ui-plugin element.
-
Plugin
The properties, the methods and the delegates of a plugin instance.
-
ui-import
The attributes and the config keys of the ui-import element.
-
Tangular helpers
The helpers available in every Tangular template for encoding, formatting and reading code lists.
Utilities
-
String
Methods that jComponent adds to String.prototype for formatting, parsing, validating and cleaning text.
-
Number
Methods that jComponent adds to Number.prototype for formatting, rounding, calculating and pluralizing.
-
Array
Methods that jComponent adds to Array.prototype for searching, sorting, slicing and processing lists.
-
Date
Methods that jComponent adds to Date.prototype for date arithmetic, formatting and UTC conversion.
-
jQuery extensions
Methods that jComponent adds to jQuery for classes, attributes, SVG, finding instances and calling the library.
FAQ
-
FAQ
Answers to the questions developers ask when they start with jComponent.
Changelog
-
20.015
The official list of changes of jComponent, up to release 20.015.