viking7982 commented on code in PR #18436: URL: https://github.com/apache/echarts/pull/18436#discussion_r1155451590
########## src/component/tooltip/TooltipModel.ts: ########## @@ -66,6 +66,13 @@ export interface TooltipOption extends CommonTooltipOption<TopLevelFormatterPara */ appendToBody?: boolean + /** + * If append popup dom to some other dom element + * Only available when renderMode is html + */ + appendTo?: Function | string | HTMLElement Review Comment: In our project, we manage some common echarts config in a single file which do not have assess to the echarts instance. So I add it as an input for convenience. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org