GrammarlyButtonElement
<grammarly-button>
is a web component that allows you to place the Grammarly button in a custom position in your app.
declare class GrammarlyButtonElement extends HTMLElement {
get tonePosition(): TonePosition | undefined;
}
Properties
tonePosition — TonePosition | undefined
The position of the tone detectoropen in new window (if present) relative to the Grammarly button.
Default: "left"
Example:
<grammarly-button tone-position="left"></grammarly-button>