Skip to content
This repository was archived by the owner on Oct 28, 2019. It is now read-only.

Latest commit

 

History

History
56 lines (41 loc) · 1.9 KB

API_REFERENCE.md

File metadata and controls

56 lines (41 loc) · 1.9 KB

API References

ReallyCodeConfigurator

Propeties

Property Type Default Description
properties Array<PropertyValue> undefined A list of configurable properties of a custom element.
cssProperties Array<PropertyValue> undefined A list of configurable CSS Custom Properties of a custom properties.
customElement string undefined Name of custom element. It will be used for querying all custom elements. All properties will be applied to all custom elements found in the demo.

Types

PropertyValue

interface PropertyValueOptions {
  label: string;
  value: string;
}

interface PropertyValue {
  name: string;
  value: unknown;
  options?: PropertyValueOptions[];
  type?: string;
}

Methods

None

Events

None

CSS Custom Properties

None