Skip to content

@jimka/typescript-ui / component/button / ButtonOptions

Interface: ButtonOptions

Defined in: src/typescript/lib/component/button/Button.ts:22

Construction-time options for Button.

Extends

Extended by

Properties

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


enabled?

ts
optional enabled: boolean;

Defined in: src/typescript/lib/component/button/Button.ts:25


foregroundColor?

ts
optional foregroundColor: string;

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

Inherited from

ComponentOptions.foregroundColor


glyph?

ts
optional glyph: string;

Defined in: src/typescript/lib/component/button/Button.ts:24


hoverBackgroundColor?

ts
optional hoverBackgroundColor: string;

Defined in: src/typescript/lib/component/button/Button.ts:32


hoverBackgroundImage?

ts
optional hoverBackgroundImage: string;

Defined in: src/typescript/lib/component/button/Button.ts:33


hoverBorder?

ts
optional hoverBorder: BorderOptions;

Defined in: src/typescript/lib/component/button/Button.ts:35


hoverBorderRadius?

ts
optional hoverBorderRadius: string;

Defined in: src/typescript/lib/component/button/Button.ts:36


hoverForegroundColor?

ts
optional hoverForegroundColor: string;

Defined in: src/typescript/lib/component/button/Button.ts:34


hoverShadow?

ts
optional hoverShadow: string;

Defined in: src/typescript/lib/component/button/Button.ts:37


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


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


pressedBackgroundColor?

ts
optional pressedBackgroundColor: string;

Defined in: src/typescript/lib/component/button/Button.ts:26


pressedBackgroundImage?

ts
optional pressedBackgroundImage: string;

Defined in: src/typescript/lib/component/button/Button.ts:27


pressedBorder?

ts
optional pressedBorder: BorderOptions;

Defined in: src/typescript/lib/component/button/Button.ts:29


pressedBorderRadius?

ts
optional pressedBorderRadius: string;

Defined in: src/typescript/lib/component/button/Button.ts:30


pressedForegroundColor?

ts
optional pressedForegroundColor: string;

Defined in: src/typescript/lib/component/button/Button.ts:28


pressedShadow?

ts
optional pressedShadow: string;

Defined in: src/typescript/lib/component/button/Button.ts:31


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


text?

ts
optional text: string;

Defined in: src/typescript/lib/component/button/Button.ts:23


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