Add trigger message on cowebsite alt
This commit is contained in:
parent
7e966a7381
commit
33e1a369de
3 changed files with 10 additions and 3 deletions
|
@ -44,6 +44,7 @@ export type CoWebsite = {
|
|||
allowPolicy: string | undefined;
|
||||
allowApi: boolean | undefined;
|
||||
jitsi?: boolean;
|
||||
altMessage?: string;
|
||||
};
|
||||
|
||||
class CoWebsiteManager {
|
||||
|
@ -533,7 +534,8 @@ class CoWebsiteManager {
|
|||
allowApi?: boolean,
|
||||
allowPolicy?: string,
|
||||
position?: number,
|
||||
closable?: boolean
|
||||
closable?: boolean,
|
||||
altMessage?: string
|
||||
): CoWebsite {
|
||||
const iframe = document.createElement("iframe");
|
||||
const fullUrl = new URL(url, base);
|
||||
|
@ -547,6 +549,7 @@ class CoWebsiteManager {
|
|||
closable: closable ?? false,
|
||||
allowPolicy,
|
||||
allowApi,
|
||||
altMessage,
|
||||
};
|
||||
|
||||
this.initialiseCowebsite(newCoWebsite, position);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue