Skip to content

Commit

Permalink
Merge branch 'feat/add-height-to-indicator' into alpha
Browse files Browse the repository at this point in the history
  • Loading branch information
mguellsegarra committed Nov 25, 2024
2 parents 73d104e + 0f77b8e commit f935585
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/Indicator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,15 @@ class Indicator extends Selection {
this._actionId = value;
}

_height: number | undefined;
get height(): number | undefined {
return this._height;
}

set height(value: number | undefined) {
this._height = value;
}

constructor(props: any) {
super(props);
this._card = false;
Expand All @@ -56,6 +65,9 @@ class Indicator extends Selection {
if (props.action_id) {
this._actionId = parseInt(props.action_id);
}
if (props.height) {
this._height = parseInt(props.height);
}
}
}
}
Expand Down

0 comments on commit f935585

Please sign in to comment.