1. Introduction
  2. Getting Started
  3. Using the CLI
  4. Coding Guide
  5. Assertions
  6. OOP
  7. Utils & Async
  8. Data Structures
  9. Universal Events
  10. Templating
  11. Indexed Tables
  12. Entities
  13. I18n
  14. Routing
  15. API Access
  16. Widgets
  17. Basic Widgets
  18. Asset Mgmt
  19. Session Mgmt
  20. Best Practices

Basic Widgets

Module Namespace Stability
npm install giant-basic-widgets $basicWidgets Fairly stable

GiantJS promotes component-oriented architecture. Components are not restricted to the UI, (ie. model-components, transport-components) but the UI is where they manifest in the most obvious ways. (For a general explanation of components, see About components.)

Being component-oriented means you're not thinking in terms of markup when you design and code your application. Rater, you start with atomic, basic components (widgets), and use them as building blocks to form more complex components, an artifact of which is HTML markup.

This page walks you through GiantJS' official range of atomic widgets, and lets you play around with them.

A detailed description of each widget class / variant is to follow.