Skip to content

@jimka/typescript-ui / component/display / GlyphOptions

Interface: GlyphOptions

Defined in: src/typescript/lib/component/display/Glyph.ts:116

Construction-time options for Glyph.

Extends

Properties

animation?

ts
optional animation: GlyphAnimation;

Defined in: src/typescript/lib/component/display/Glyph.ts:135

Optional animation kind to play on this glyph from construction.


animationDuration?

ts
optional animationDuration: number;

Defined in: src/typescript/lib/component/display/Glyph.ts:142

Optional override (ms) for the active animation's duration. Wins over the theme-token default while non-zero. Ignored when animation is unset.


attributes?

ts
optional attributes: Record<string, string>;

Defined in: src/typescript/lib/core/Component.ts:102

Inherited from

ComponentOptions.attributes


backgroundColor?

ts
optional backgroundColor: string;

Defined in: src/typescript/lib/core/Component.ts:81

Inherited from

ComponentOptions.backgroundColor


backgroundImage?

ts
optional backgroundImage: string;

Defined in: src/typescript/lib/core/Component.ts:82

Inherited from

ComponentOptions.backgroundImage


border?

ts
optional border: 
  | string
  | BorderOptions;

Defined in: src/typescript/lib/core/Component.ts:85

Inherited from

ComponentOptions.border


borderRadius?

ts
optional borderRadius: string;

Defined in: src/typescript/lib/core/Component.ts:86

Inherited from

ComponentOptions.borderRadius


colorScheme?

ts
optional colorScheme: string;

Defined in: src/typescript/lib/core/Component.ts:84

Inherited from

ComponentOptions.colorScheme


components?

ts
optional components: (
  | Component<ComponentOptions>
  | ConstrainedComponent)[];

Defined in: src/typescript/lib/core/Component.ts:103

Inherited from

ComponentOptions.components


cursor?

ts
optional cursor: string;

Defined in: src/typescript/lib/core/Component.ts:89

Inherited from

ComponentOptions.cursor


display?

ts
optional display: string;

Defined in: src/typescript/lib/core/Component.ts:97

Inherited from

ComponentOptions.display


displayed?

ts
optional displayed: boolean;

Defined in: src/typescript/lib/core/Component.ts:77

Inherited from

ComponentOptions.displayed


foregroundColor?

ts
optional foregroundColor: string;

Defined in: src/typescript/lib/core/Component.ts:83

Inherited from

ComponentOptions.foregroundColor


id?

ts
optional id: string;

Defined in: src/typescript/lib/core/Component.ts:101

Inherited from

ComponentOptions.id


insets?

ts
optional insets: Insets;

Defined in: src/typescript/lib/core/Component.ts:79

Inherited from

ComponentOptions.insets


layoutManager?

ts
optional layoutManager: LayoutManager;

Defined in: src/typescript/lib/core/Component.ts:100

Inherited from

ComponentOptions.layoutManager


lineHeight?

ts
optional lineHeight: string | number;

Defined in: src/typescript/lib/component/display/Glyph.ts:123

CSS line-height override. A number is interpreted as pixels (e.g. 24"24px"); a string is used verbatim (e.g. "1" for the unitless font-size multiplier used by char-mode glyphs).


maxSize?

ts
optional maxSize: Size;

Defined in: src/typescript/lib/core/Component.ts:92

Inherited from

ComponentOptions.maxSize


minSize?

ts
optional minSize: Size;

Defined in: src/typescript/lib/core/Component.ts:91

Inherited from

ComponentOptions.minSize


opacity?

ts
optional opacity: number;

Defined in: src/typescript/lib/core/Component.ts:95

Inherited from

ComponentOptions.opacity


outline?

ts
optional outline: string;

Defined in: src/typescript/lib/core/Component.ts:88

Inherited from

ComponentOptions.outline


overflow?

ts
optional overflow: string;

Defined in: src/typescript/lib/core/Component.ts:98

Inherited from

ComponentOptions.overflow


padding?

ts
optional padding: Insets;

Defined in: src/typescript/lib/core/Component.ts:80

Inherited from

ComponentOptions.padding


pointerEvents?

ts
optional pointerEvents: string;

Defined in: src/typescript/lib/core/Component.ts:99

Inherited from

ComponentOptions.pointerEvents


position?

ts
optional position: Position;

Defined in: src/typescript/lib/core/Component.ts:96

Inherited from

ComponentOptions.position


preferredSize?

ts
optional preferredSize: Size;

Defined in: src/typescript/lib/core/Component.ts:90

Inherited from

ComponentOptions.preferredSize


shadow?

ts
optional shadow: string;

Defined in: src/typescript/lib/core/Component.ts:87

Inherited from

ComponentOptions.shadow


tag?

ts
optional tag: string;

Defined in: src/typescript/lib/core/Component.ts:75

Inherited from

ComponentOptions.tag


textAlign?

ts
optional textAlign: string;

Defined in: src/typescript/lib/component/display/Glyph.ts:130

CSS text-align keyword (e.g. "left", "center", "right"). Char-mode glyphs default to "center"; SVG-mode glyphs leave this unset.


transform?

ts
optional transform: string;

Defined in: src/typescript/lib/core/Component.ts:93

Inherited from

ComponentOptions.transform


visible?

ts
optional visible: boolean;

Defined in: src/typescript/lib/core/Component.ts:76

Inherited from

ComponentOptions.visible


willChange?

ts
optional willChange: null | string;

Defined in: src/typescript/lib/core/Component.ts:94

Inherited from

ComponentOptions.willChange


zIndex?

ts
optional zIndex: number;

Defined in: src/typescript/lib/core/Component.ts:78

Inherited from

ComponentOptions.zIndex