@progress/kendo-angular-popup 19.1.1 → 19.1.2-develop.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -10,67 +10,56 @@ import { Offset } from './offset.interface';
10
10
  import { PositionMode } from './position-mode';
11
11
  import { PopupAnimation } from './popup-animation.interface';
12
12
  /**
13
- * The settings for the Popup when the Popup is opened through `PopupService`.
14
- *
15
- * For an example on sample usage, refer to the
16
- * [`PopupService.open`]({% slug api_popup_popupservice %}#toc-open) method.
13
+ * Defines the settings for the Popup when you open it through `PopupService` ([see example](slug:api_popup_popupservice#open)).
17
14
  */
18
15
  export interface PopupSettings {
19
16
  /**
20
- * Controls the Popup animation. By default, the open and close animations are enabled
21
- * ([see example]({% slug animations_popup %})).
17
+ * Controls the Popup animation. By default, the open and close animations are enabled ([see example]({% slug animations_popup %})).
22
18
  */
23
19
  animate?: boolean | PopupAnimation;
24
20
  /**
25
- * Specifies the element which will be used as an anchor. The Popup opens next to that element.
21
+ * Sets the element to use as an anchor. The Popup opens next to this element.
26
22
  */
27
23
  anchor?: ElementRef | HTMLElement;
28
24
  /**
29
- * Defines the container to which the Popup will be appended.
25
+ * Sets the container to which the Popup appends.
30
26
  */
31
27
  appendTo?: ViewContainerRef;
32
28
  /**
33
- * Specifies the anchor pivot point
34
- * ([see example]({% slug alignmentpositioning_popup %})).
29
+ * Sets the anchor pivot point ([see example]({% slug alignmentpositioning_popup %})).
35
30
  */
36
31
  anchorAlign?: Align;
37
32
  /**
38
- * Defines the content of the Popup.
33
+ * Sets the content of the Popup.
39
34
  */
40
35
  content?: TemplateRef<any> | Function;
41
36
  /**
42
- * Configures the collision behavior of the Popup
43
- * ([see example]({% slug viewportboundarydetection_popup %}).
37
+ * Sets the collision behavior of the Popup ([see example]({% slug viewportboundarydetection_popup %})).
44
38
  */
45
39
  collision?: Collision;
46
40
  /**
47
- * Configures the margin value that will be added to the popup dimensions
48
- * in pixels and leaves a blank space between the popup and the anchor.
41
+ * Sets the margin value in pixels. Adds blank space between the Popup and the anchor.
49
42
  */
50
43
  margin?: Margin;
51
44
  /**
52
- * Specifies the position mode of the component. By default, the Popup uses fixed positioning.
53
- * To make the Popup acquire absolute positioning, set this option to `absolute`.
45
+ * Sets the position mode of the component. By default, the Popup uses fixed positioning. To use absolute positioning, set this option to `absolute`.
54
46
  *
55
- * > If you need to support mobile browsers with the zoom option, use the `absolute` positioning of the Popup.
47
+ * To support mobile browsers with the zoom option, use the `absolute` positioning of the Popup.
56
48
  */
57
49
  positionMode?: PositionMode;
58
50
  /**
59
- * Specifies the pivot point of the Popup ([see example]({% slug alignmentpositioning_popup %})).
51
+ * Sets the pivot point of the Popup ([see example]({% slug alignmentpositioning_popup %})).
60
52
  */
61
53
  popupAlign?: Align;
62
54
  /**
63
- * Specifies a list of CSS classes that will be added to the internal animated element
64
- * ([see example]({% slug appearance_popup %})).
55
+ * Sets a list of CSS classes to add to the internal animated element ([see example]({% slug appearance_popup %})).
65
56
  *
66
57
  * > To style the content of the Popup, use this property binding.
67
58
  */
68
59
  popupClass?: string | Array<string> | Object;
69
60
  /**
70
- * Specifies the absolute position of the element
71
- * ([see example]({% slug alignmentpositioning_popup %}#toc-aligning-to-absolute-points)).
72
- * The Popup opens next to that point. The pivot point of the Popup is defined by the `popupAlign` configuration option.
73
- * The boundary detection is applied by using the window viewport.
61
+ * Sets the absolute position of the element ([see example]({% slug alignmentpositioning_popup %}#toc-aligning-to-absolute-points)).
62
+ * The Popup opens next to this point. The pivot point of the Popup is defined by the `popupAlign` option. The boundary detection uses the window viewport.
74
63
  */
75
64
  offset?: Offset;
76
65
  }
@@ -3,6 +3,6 @@
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  /**
6
- * The type which defines all possible position modes of the Popup.
6
+ * Defines all possible values for the `positionMode` property of the Popup.
7
7
  */
8
8
  export type PositionMode = 'absolute' | 'fixed';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-angular-popup",
3
- "version": "19.1.1",
3
+ "version": "19.1.2-develop.2",
4
4
  "description": "Kendo UI Angular Popup component - an easily customized popup from the most trusted provider of professional Angular components.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "Progress",
@@ -19,7 +19,7 @@
19
19
  "package": {
20
20
  "productName": "Kendo UI for Angular",
21
21
  "productCode": "KENDOUIANGULAR",
22
- "publishDate": 1749539908,
22
+ "publishDate": 1749820265,
23
23
  "licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning"
24
24
  }
25
25
  },
@@ -28,14 +28,14 @@
28
28
  "@angular/common": "16 - 20",
29
29
  "@angular/core": "16 - 20",
30
30
  "@angular/platform-browser": "16 - 20",
31
- "@progress/kendo-angular-common": "19.1.1",
31
+ "@progress/kendo-angular-common": "19.1.2-develop.2",
32
32
  "@progress/kendo-licensing": "^1.5.0",
33
33
  "rxjs": "^6.5.3 || ^7.0.0"
34
34
  },
35
35
  "dependencies": {
36
36
  "@progress/kendo-popup-common": "^1.7.0",
37
37
  "tslib": "^2.3.1",
38
- "@progress/kendo-angular-schematics": "19.1.1"
38
+ "@progress/kendo-angular-schematics": "19.1.2-develop.2"
39
39
  },
40
40
  "schematics": "./schematics/collection.json",
41
41
  "module": "fesm2022/progress-kendo-angular-popup.mjs",
@@ -21,19 +21,11 @@ import * as i0 from "@angular/core";
21
21
  * Represents the [Kendo UI Popup component for Angular]({% slug overview_popup %}).
22
22
  *
23
23
  * @example
24
- * ```ts
25
- * _@Component({
26
- * selector: 'my-app',
27
- * template: `
28
- * <button #anchor (click)="show=!show">Toggle</button>
29
- * <kendo-popup *ngIf="show" [anchor]="anchor">
30
- * <strong>Popup content!</strong>
31
- * </kendo-popup>
32
- * `
33
- * })
34
- * class AppComponent {
35
- * public show: boolean = false;
36
- * }
24
+ * ```html
25
+ * <button #anchor (click)="show = !show">Toggle</button>
26
+ * <kendo-popup *ngIf="show" [anchor]="anchor">
27
+ * <strong>Popup content!</strong>
28
+ * </kendo-popup>
37
29
  * ```
38
30
  */
39
31
  export declare class PopupComponent implements AfterViewInit, OnInit, OnChanges, OnDestroy {
@@ -47,161 +39,67 @@ export declare class PopupComponent implements AfterViewInit, OnInit, OnChanges,
47
39
  private _renderer;
48
40
  private _zone;
49
41
  /**
50
- * Controls the Popup animation. By default, the opening and closing animations
51
- * are enabled ([see example]({% slug animations_popup %})).
42
+ * Controls the Popup animation. By default, the opening and closing animations are enabled ([see example]({% slug animations_popup %})).
43
+ * @default true
52
44
  */
53
45
  animate: boolean | PopupAnimation;
54
46
  /**
55
- * Specifies the element that will be used as an anchor. The Popup opens next to that element.
56
- * ([see example]({% slug alignmentpositioning_popup %}#toc-aligning-to-components)).
47
+ * Sets the element to use as an anchor. The Popup opens next to this element. ([See example]({% slug alignmentpositioning_popup %}#toc-aligning-to-components)).
57
48
  */
58
49
  anchor: ElementRef | HTMLElement;
59
50
  /**
60
- * Specifies the anchor pivot point
61
- * ([see example]({% slug alignmentpositioning_popup %}#toc-positioning)).
51
+ * Sets the anchor pivot point ([see example]({% slug alignmentpositioning_popup %}#toc-positioning)).
52
+ * @default '{ horizontal: "left", vertical: "bottom" }'
62
53
  */
63
54
  anchorAlign: Align;
64
55
  /**
65
- * Configures the collision behavior of the Popup
66
- * ([see example]({% slug viewportboundarydetection_popup %})).
56
+ * Sets the collision behavior of the Popup ([see example]({% slug viewportboundarydetection_popup %})).
57
+ * @default '{ horizontal: "fit", vertical: "flip" }'
67
58
  */
68
59
  collision: Collision;
69
60
  /**
70
- * Specifies the pivot point of the Popup
71
- * ([see example]({% slug alignmentpositioning_popup %}#toc-positioning)).
61
+ * Sets the pivot point of the Popup ([see example]({% slug alignmentpositioning_popup %}#toc-positioning)).
62
+ * @default '{ horizontal: "left", vertical: "top" }'
72
63
  */
73
64
  popupAlign: Align;
74
65
  /**
75
- * Controls whether the component will copy the `anchor` font styles.
66
+ * Controls whether the component copies the `anchor` font styles.
67
+ * @default false
76
68
  */
77
69
  copyAnchorStyles: boolean;
78
70
  /**
79
- * Specifies a list of CSS classes that will be added to the internal
80
- * animated element ([see example]({% slug appearance_popup %})).
71
+ * Sets a list of CSS classes to add to the internal animated element ([see example]({% slug appearance_popup %})).
81
72
  *
82
73
  * > To style the content of the Popup, use this property binding.
83
74
  */
84
75
  popupClass: string | Array<string> | Object;
85
76
  /**
86
- * Specifies the position mode of the component. By default, the Popup uses fixed positioning.
87
- * To make the Popup acquire absolute positioning, set this option to `absolute`.
77
+ * Sets the position mode of the component. By default, the Popup uses fixed positioning. To use absolute positioning, set this option to `absolute`.
88
78
  *
89
- * > If you need to support mobile browsers with the zoom option,
90
- * use the `absolute` positioning of the Popup.
91
- *
92
- * @example
93
- * ```html
94
- * <style>
95
- * .parent-content {
96
- * position: relative;
97
- * width: 200px;
98
- * height: 200px;
99
- * overflow: auto;
100
- * margin: 200px auto;
101
- * border: 1px solid red;
102
- * }
103
- * .content {
104
- * position: relative;
105
- * width: 100px;
106
- * height: 100px;
107
- * overflow: auto;
108
- * margin: 300px;
109
- * border: 1px solid blue;
110
- * }
111
- * .anchor {
112
- * position: absolute;
113
- * top: 200px;
114
- * left: 200px;
115
- * }
116
- * </style>
117
- * ```
118
- * ```ts
119
- * _@Component({
120
- * selector: 'my-app',
121
- * template: `
122
- * <div class="example-config">
123
- * Position mode:
124
- * <label><input type="radio" value="fixed" [(ngModel)]="mode" /> Fixed</label>
125
- * <label><input type="radio" value="absolute" [(ngModel)]="mode" /> Absolute</label>
126
- * </div>
127
- * <div class="example-config">
128
- * Append to
129
- * <label>
130
- * <input type="radio" name="place" [value]="1" [(ngModel)]="checked" />
131
- * Root component
132
- * </label>
133
- * <label>
134
- * <input type="radio" name="place" [value]="2" [(ngModel)]="checked" />
135
- * <span [style.color]="'red'">Red Container</span>
136
- * </label>
137
- * <label>
138
- * <input type="radio" name="place" [value]="3" [(ngModel)]="checked" />
139
- * <span [style.color]="'blue'">Blue Container</span>
140
- * </label>
141
- * </div>
142
- * <div class="example">
143
- * <div class="parent-content" [scrollLeft]="250" [scrollTop]="230">
144
- * <div class="content" [scrollLeft]="170" [scrollTop]="165">
145
- * <button #anchor class="anchor" (click)="show = !show">Toggle</button>
146
- * <kendo-popup [positionMode]="mode" [anchor]="anchor" (anchorViewportLeave)="show=false" *ngIf="show && checked === 3">
147
- * <ul>
148
- * <li>Item1</li>
149
- * <li>Item2</li>
150
- * <li>Item3</li>
151
- * </ul>
152
- * </kendo-popup>
153
- * <span [style.position]="'absolute'" [style.top.px]="400" [style.left.px]="400">Bottom/Right</span>
154
- * </div>
155
- * <kendo-popup [positionMode]="mode" [anchor]="anchor" (anchorViewportLeave)="show=false" *ngIf="show && checked === 2">
156
- * <ul>
157
- * <li>Item1</li>
158
- * <li>Item2</li>
159
- * <li>Item3</li>
160
- * </ul>
161
- * </kendo-popup>
162
- * <span [style.position]="'absolute'" [style.top.px]="600" [style.left.px]="600">Bottom/Right</span>
163
- * </div>
164
- * <kendo-popup [positionMode]="mode" [anchor]="anchor" (anchorViewportLeave)="show=false" *ngIf="show && checked === 1">
165
- * <ul>
166
- * <li>Item1</li>
167
- * <li>Item2</li>
168
- * <li>Item3</li>
169
- * </ul>
170
- * </kendo-popup>
171
- * </div>
172
- * `
173
- * })
174
- * class AppComponent {
175
- * public checked: number = 3;
176
- * public mode: string = 'absolute';
177
- * public show: boolean = true;
178
- * }
179
- * ```
79
+ * To support mobile browsers with the zoom option, use the `absolute` positioning of the Popup.
80
+ * @default 'fixed'
180
81
  */
181
82
  positionMode: PositionMode;
182
83
  /**
183
- * Specifies the absolute position of the element
184
- * ([see example]({% slug alignmentpositioning_popup %}#toc-aligning-to-absolute-points)).
185
- * The Popup opens next to that point. The Popup pivot point is defined by the `popupAlign` configuration option.
186
- * The boundary detection is applied by using the window viewport.
84
+ * Sets the absolute position of the element ([see example]({% slug alignmentpositioning_popup %}#toc-aligning-to-absolute-points)).
85
+ * The Popup opens next to this point. The Popup pivot point is defined by the `popupAlign` option. The boundary detection uses the window viewport.
86
+ * @default '{ left: -10000, top: 0 }'
187
87
  */
188
88
  offset: Offset;
189
89
  /**
190
- * Specifies the margin value that will be added to the popup dimensions in pixels and leaves a blank space
191
- * between the popup and the anchor ([see example]({% slug alignmentpositioning_popup %}#toc-adding-a-margin)).
90
+ * Sets the margin value in pixels. Adds blank space between the Popup and the anchor ([see example]({% slug alignmentpositioning_popup %}#toc-adding-a-margin)).
192
91
  */
193
92
  margin: Margin;
194
93
  /**
195
- * Fires when the anchor is scrolled outside the screen boundaries.
196
- * ([see example]({% slug closing_popup %}#toc-after-leaving-the-viewport)).
94
+ * Fires when the anchor scrolls outside the screen boundaries. ([See example]({% slug closing_popup %}#toc-after-leaving-the-viewport)).
197
95
  */
198
96
  anchorViewportLeave: EventEmitter<any>;
199
97
  /**
200
- * Fires after the component is closed.
98
+ * Fires after the component closes.
201
99
  */
202
100
  close: EventEmitter<any>;
203
101
  /**
204
- * Fires after the component is opened and the opening animation ends.
102
+ * Fires after the component opens and the opening animation ends.
205
103
  */
206
104
  open: EventEmitter<any>;
207
105
  /**
package/popup.module.d.ts CHANGED
@@ -6,11 +6,9 @@ import * as i0 from "@angular/core";
6
6
  import * as i1 from "@progress/kendo-angular-common";
7
7
  import * as i2 from "./popup.component";
8
8
  /**
9
- * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
10
- * definition for the Popup component.
9
+ * Required for adding all Popup features in NgModule-based Angular applications.
11
10
  *
12
11
  * @example
13
- *
14
12
  * ```ts-no-run
15
13
  * // Import the Popup module
16
14
  * import { PopupModule } from '@progress/kendo-angular-popup';
@@ -7,15 +7,13 @@ import { PopupSettings } from './models/popup-settings';
7
7
  import { PopupRef } from './models/popup-ref';
8
8
  import * as i0 from "@angular/core";
9
9
  /**
10
- * Used to inject the Popup container. If not provided, the first root component of
11
- * the application is used.
10
+ * Injects the Popup container. If not set, uses the first root component of the application.
12
11
  *
13
- * > The `POPUP_CONTAINER` can be used only with the [`PopupService`](slug:service_popup) class.
12
+ * > Use `POPUP_CONTAINER` only with the `PopupService` class ([see example](slug:service_popup)).
14
13
  *
15
- * In case you are using standalone components:
14
+ * In standalone components:
16
15
  *
17
16
  * @example
18
- *
19
17
  * ```ts
20
18
  * import { Component } from '@angular/core';
21
19
  * import { KENDO_POPUP, PopupService } from '@progress/kendo-angular-popup';
@@ -36,19 +34,18 @@ import * as i0 from "@angular/core";
36
34
  * export class AppComponent {}
37
35
  * ```
38
36
  *
39
- * In case you are using an NgModule-based application:
37
+ * In NgModule-based applications:
40
38
  *
41
39
  * @example
42
- *
43
- * ```ts-no-run
40
+ * ```ts
44
41
  * import { PopupModule, POPUP_CONTAINER } from '@progress/kendo-angular-popup';
45
42
  * import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
46
43
  * import { ElementRef, NgModule } from '@angular/core';
47
44
  * import { AppComponent } from './app.component';
48
45
  *
49
46
  * _@NgModule({
50
- * declarations: [AppComponent], // declare app component
51
- * imports: [BrowserModule, PopupModule], // import Popup module
47
+ * declarations: [AppComponent],
48
+ * imports: [BrowserModule, PopupModule],
52
49
  * bootstrap: [AppComponent],
53
50
  * providers: [{
54
51
  * provide: POPUP_CONTAINER,
@@ -65,8 +62,7 @@ import * as i0 from "@angular/core";
65
62
  */
66
63
  export declare const POPUP_CONTAINER: InjectionToken<ElementRef<any>>;
67
64
  /**
68
- * A service for opening Popup components dynamically
69
- * ([see example]({% slug service_popup %})).
65
+ * Provides a service for opening Popup components dynamically ([see example]({% slug service_popup %})).
70
66
  *
71
67
  * @export
72
68
  * @class PopupService
@@ -77,95 +73,62 @@ export declare class PopupService {
77
73
  private injector;
78
74
  private container;
79
75
  /**
80
- * Gets the root view container into which the component will be injected.
76
+ * Gets the root view container for injecting the component.
81
77
  *
82
- * @returns {ComponentRef<any>}
78
+ * @returns {ComponentRef<any>} The root view container reference.
83
79
  */
84
80
  private get rootViewContainer();
85
81
  /**
86
- * Sets or gets the HTML element of the root component container.
82
+ * Gets the HTML element of the root component container.
87
83
  *
88
- * @returns {HTMLElement}
84
+ * @returns {HTMLElement} The root container HTML element.
89
85
  */
90
86
  get rootViewContainerNode(): HTMLElement;
91
87
  constructor(applicationRef: ApplicationRef, componentFactoryResolver: ComponentFactoryResolver, injector: Injector, container: ElementRef);
92
88
  /**
93
- * Opens a Popup component. Created Popups are mounted
94
- * in the DOM directly in the root application component.
95
- *
96
- * @param {PopupSettings} options - The options which define the Popup.
97
- * @returns {ComponentRef<PopupComponent>} - A reference to the Popup object.
98
- *
99
- * @example
100
- *
101
- * ```ts-no-run
102
- * _@Component({
103
- * selector: 'my-app',
104
- * template: `
105
- * <ng-template #template>
106
- * Popup content
107
- * </ng-template>
108
- * <button #anchor kendoButton (click)="open(anchor, template)">Open</button>
109
- * `
110
- * })
111
- * export class AppComponent {
112
- * public popupRef: PopupRef;
113
- *
114
- * constructor( private popupService: PopupService ) {}
115
- *
116
- * public open(anchor: ElementRef, template: TemplateRef<any>): void {
117
- * if (this.popupRef) {
118
- * this.popupRef.close();
119
- * this.popupRef = null;
120
- * return;
121
- * }
89
+ * Opens a Popup component. The Popup mounts in the DOM under the root application component.
122
90
  *
123
- * this.popupRef = this.popupService.open({
124
- * anchor: anchor,
125
- * content: template
126
- * });
127
- * }
128
- * }
129
- * ```
91
+ * @param {PopupSettings} options - The options for the Popup.
92
+ * @returns {ComponentRef<PopupComponent>} A reference to the Popup object.
130
93
  */
131
94
  open(options?: PopupSettings): PopupRef;
132
95
  private appendPopup;
133
96
  /**
134
97
  * Gets the HTML element for a component reference.
135
98
  *
136
- * @param {ComponentRef<any>} componentRef
137
- * @returns {HTMLElement}
99
+ * @param {ComponentRef<any>} componentRef The component reference.
100
+ * @returns {HTMLElement} The root HTML element of the component.
138
101
  */
139
102
  private getComponentRootNode;
140
103
  /**
141
- * Gets the `ComponentFactory` instance by its type.
104
+ * Gets the `ComponentFactory` instance by type.
142
105
  *
143
- * @param {*} componentClass
144
- * @param {*} nodes
145
- * @returns {ComponentRef<any>}
106
+ * @param {*} componentClass The component class.
107
+ * @returns {ComponentFactory<any>} The component factory instance.
146
108
  */
147
109
  private getComponentFactory;
148
110
  /**
149
- * Creates a component reference from a `Component` type class.
111
+ * Creates a component reference from a `Component` class.
150
112
  *
151
- * @param {*} componentClass
152
- * @param {*} nodes
153
- * @returns {ComponentRef<any>}
113
+ * @param {*} componentClass The component class.
114
+ * @param {*} nodes The nodes to project.
115
+ * @param {ViewContainerRef} container The container to use.
116
+ * @returns {ComponentRef<any>} The created component reference.
154
117
  */
155
118
  private createComponent;
156
119
  /**
157
- * Projects the inputs on the component.
120
+ * Projects the input options onto the component instance.
158
121
  *
159
- * @param {ComponentRef<any>} component
160
- * @param {*} options
161
- * @returns {ComponentRef<any>}
122
+ * @param {ComponentRef<any>} component The component reference.
123
+ * @param {*} options The options to project.
124
+ * @returns {ComponentRef<any>} The updated component reference.
162
125
  */
163
126
  private projectComponentInputs;
164
127
  /**
165
- * Gets the component and the nodes to append from the `content` option.
128
+ * Gets the component and nodes to append from the `content` option.
166
129
  *
167
- * @param {*} content
168
- * @returns {any}
130
+ * @param {*} content The content to use.
131
+ * @returns {any} The component and nodes for projection.
169
132
  */
170
133
  private contentFrom;
171
134
  static ɵfac: i0.ɵɵFactoryDeclaration<PopupService, [null, null, null, { optional: true; }]>;
package/scale.d.ts CHANGED
@@ -4,14 +4,10 @@
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { InjectionToken } from '@angular/core';
6
6
  /**
7
- * Used to set the document scale when using a [scale transform](https://developer.mozilla.org/en-US/docs/Web/CSS/transform-function/scale).
8
- *
9
- * The document or container scale is required to compute the popup position correctly. Detecting the scale is not reliable and must be set by providing a value for SCALE. See [Support for Document Scale]({% slug documentscale_popup %}).
10
- *
11
- * > Using this token is not necessary for user-applied browser zoom.
12
- *
13
- * <demo metaUrl="popup/scale/" height="300"></demo>
7
+ * Use the `SCALE` injection token to set the document scale when you use a [scale transform](https://developer.mozilla.org/en-US/docs/Web/CSS/transform-function/scale).
14
8
  *
9
+ * The document or container scale is required to compute the popup position correctly. Set the value for `SCALE` to ensure correct positioning. See [Support for Document Scale]({% slug documentscale_popup %}).
15
10
  *
11
+ * > You do not need to use this token for user-applied browser zoom.
16
12
  */
17
13
  export declare const SCALE: InjectionToken<number>;