You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

candystore

Package Overview
Dependencies
Maintainers
1
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

candystore

Common widgets

0.9.1
latest
Source
npmnpm
Version published
Weekly downloads
1
-98.51%
Maintainers
1
Weekly downloads
 
Created
Source

Candystore

Common widgets

Wiki

Reference

Npm package

Candystore implements a highly reusable set of fundamental widgets. They build on top of shoeshine' Widget class, observing classical OOP imposed by troop, and the document-oriented model of bookworm. Some Candystore widgets also rely on transport-level features of poodle.

The purpose of Candystore is to provide the building blocks of front end applications' view-controller layer.

Candystore is agnostic about how the widgets will be used and displayed, and thus have no styling (CSS) beyond what is necessary for them to function. (Eg. a button should have a pointer cursor.)

Supported widgets

Inheritance chart

Basic widgets

  • Label, HtmlLabel, DataLabel, ItemDataLabel
  • Link, DataLink
  • Button, TextButton
  • Input, TextInput, DataTextInput, PasswordInput
  • Image, DataImage
  • DynamicImage, DataDynamicImage

Composite widgets

  • List, DataList
  • Form, FormField
  • Flow
  • Page

Dropdowns

  • Dropdown, DataDropdown
  • DropdownButton, DataDropdownButton

Widget behaviors:

  • Popup, AlignedPopup,
  • BinaryStateful, Disableable, Highlightable, Expandable
  • EntityWidget, FieldBound,
  • Option, OptionList
  • DataListItem

Widget utilities:

  • HotKeyWatcher
  • ResizeWatcher

IE9

In order for Candystore and its dependencies to work on IE9, make sure that the browser operates in 'IE9 standards' document mode, by (conditionally) adding <!doctype html> and <meta http-equiv="X-UA-Compatible" content="IE=Edge"> to the application html.

IE versions lower than 9 are not supported.

Keywords

widgets

FAQs

Package last updated on 15 Jul 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts