Skip to content

Commit b1c75c7

Browse files
Integrated latest changes at 04-15-2025 10:30:58 PM
1 parent d43cd88 commit b1c75c7

38 files changed

+195
-392
lines changed

ej2-angular-toc.html

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@
4242
<li><a href="/ej2-angular/getting-started/aspnet-mvc">Angular with ASP.NET MVC</a></li>
4343
<li><a href="/ej2-angular/getting-started/ionic">Angular with Ionic</a></li>
4444
<li><a href="/ej2-angular/getting-started/electron">Angular with Electron</a></li>
45-
<li><a href="/ej2-angular/getting-started/systemjs">Angular with SystemJS</a></li>
4645
</ul>
4746
</li>
4847
<li>
@@ -101,7 +100,6 @@
101100
Frameworks and Feature
102101
<ul>
103102
<li><a href="/ej2-angular/frameworks-and-feature/tree-shaking">Angular Tree Shaking</a></li>
104-
<li><a href="/ej2-angular/frameworks-and-feature/angular-aot">Ahead-of-Time Compilation</a></li>
105103
<li><a href="/ej2-angular/frameworks-and-feature/angular-universal">Angular Universal</a></li>
106104
<li><a href="/ej2-angular/frameworks-and-feature/lazy-loading-support">Angular Lazy Loading</a></li>
107105
<li>Testing

ej2-angular/Release-notes/29.1.38.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,4 +84,7 @@ documentation: ug
8484
| Skeleton | 44 | 44 | 0 | All Passed |
8585
| ListView | 43 | 43 | 0 | All Passed |
8686
| Signature | 40 | 40 | 0 | All Passed |
87-
| RadioButton | 37 | 37 | 0 | All Passed |
87+
| RadioButton | 37 | 37 | 0 | All Passed |
88+
| Grid | 1510 | 1510 | 0 | All Passed |
89+
| PivotGrid | 1977 | 1977 | 0 | All Passed |
90+
| ImageEditor | 1583 | 1583 | 0 | All Passed |

ej2-angular/browser.md

Lines changed: 33 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -10,51 +10,52 @@ domainurl: ##DomainURL##
1010

1111
# Browser Compatibility in Angular
1212

13-
Syncfusion<sup style="font-size:70%">&reg;</sup> Angular UI components are compatible with modern browsers. The following versions are supported:
13+
Syncfusion<sup style="font-size:70%">&reg;</sup> Angular UI components are designed to work seamlessly with modern web browsers. This document outlines the supported browser versions and provides key information on browser compatibility.
1414

15-
| Chrome | Firefox | Opera | Edge | IE | Safari | iOS | Android | Windows Mobile |
16-
|:--------------:|:---------------:|:--------------:|:------------:|:------------:|:--------------:|:-----------:|:---------------:|:--------------:|
17-
| 63+ | 58+ | 50+ | 13+ | 11+ | 9+ | 9+ | 4.4+ | IE 11+ |
15+
## Supported Browser Versions
1816

19-
## Required Polyfills
17+
The following table lists the minimum supported versions for various browsers:
2018

21-
A polyfill is code that provides modern functionality on older browsers that lack native support.
19+
| Browser | Supported Versions |
20+
|:--------|:-------------------|
21+
| Google Chrome, including Android & iOS | Latest 2 versions |
22+
| Mozilla Firefox | Latest version |
23+
| Microsoft Edge | Latest 2 versions |
24+
| Apple Safari, including iOS | Latest 2 versions |
2225

23-
Syncfusion<sup style="font-size:70%">&reg;</sup> Angular UI components are compatible with Internet Explorer 11 (IE 11) when using the ES6 Promise polyfill.
2426

25-
## Ways to Add Polyfills
27+
> Note: "Latest" refers to the most recent stable version of the browser.
2628
27-
There are two primary methods to integrate polyfills into your application:
29+
For the most up-to-date information on supported browsers, please refer to the official Angular documentation on [Supported Browsers](https://angular.io/guide/browser-support#supported-browsers).
2830

29-
### Polyfill with CDN
31+
## Modern Web Development and Browser Support
3032

31-
Add the ES6 Promise polyfill to your HTML file using the following CDN links:
33+
Syncfusion<sup style="font-size:70%">&reg;</sup> Angular UI components leverage modern web standards for optimal performance and reduced dependency on polyfills or compatibility layers.
3234

33-
```html
34-
<!-- Automatically provides/replaces `Promise` if missing or broken. -->
35-
<script src="https://cdn.jsdelivr.net/npm/es6-promise@4/dist/es6-promise.js"></script>
36-
<script src="https://cdn.jsdelivr.net/npm/es6-promise@4/dist/es6-promise.auto.js"></script>
37-
<!-- Minified version of `es6-promise-auto` below. -->
38-
<script src="https://cdn.jsdelivr.net/npm/es6-promise@4/dist/es6-promise.min.js"></script>
39-
<script src="https://cdn.jsdelivr.net/npm/es6-promise@4/dist/es6-promise.auto.min.js"></script>
40-
```
35+
Key points:
4136

42-
### Polyfill with NPM
37+
1. **Evergreen Browsers**: Components perform best with automatically updating browsers (Chrome, Firefox, Edge, Safari).
4338

44-
You can also install the ES6 Promise polyfill using npm.
39+
2. **Angular Compatibility**: Syncfusion<sup style="font-size:70%">&reg;</sup> components align with Angular's browser support policy.
4540

46-
To install via npm, use the following command:
41+
3. **Mobile Support**: Full support for the latest versions of mobile browsers on iOS and Android platforms.
4742

48-
```bash
49-
yarn add es6-promise
50-
# or
51-
npm install es6-promise
52-
```
43+
## Considerations for Internet Explorer 11
5344

54-
Incorporate it into your code as shown below:
45+
While IE11 is supported, developers should be aware of the following:
5546

56-
```typescript
57-
var Promise = require('es6-promise').Promise;
58-
```
47+
- Some features may have limited functionality or require additional polyfills.
48+
- Performance may be impacted compared to modern browsers.
49+
- As IE11 usage continues to decline, consider the necessity of extensive IE11 support in new projects.
5950

60-
For additional details, refer to [this link](https://github.com/stefanpenner/es6-promise).
51+
For detailed information on polyfills and browser support in Angular, refer to the official Angular documentation:
52+
- [Angular Versions and Polyfills](https://angular.dev/reference/versions#polyfills)
53+
54+
55+
## Additional Resources
56+
57+
- [Angular Browser Support](https://angular.io/guide/browser-support)
58+
- [Syncfusion Angular Documentation](https://ej2.syncfusion.com/angular/documentation/)
59+
- [Can I Use](https://caniuse.com/) - Check browser support for web technologies
60+
61+
Syncfusion<sup style="font-size:70%">&reg;</sup> Angular UI components enable the creation of robust, cross-browser compatible applications that deliver excellent user experiences across a wide range of modern browsers.

ej2-angular/code-snippet/dashboard-layout/save-restore-cs1/src/app.component.ts

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,12 @@ import { ButtonComponent } from '@syncfusion/ej2-angular-buttons';
1313
template: `
1414
<div class="control-section">
1515
<div class="inline" id="control">
16-
<ejs-dashboardlayout id='dashboard_default' #defaultLayout [columns]='5' [cellSpacing]='cellSpacing'
17-
[panels]='panels'>
16+
<ejs-dashboardlayout id='dashboard_default' #defaultLayout [columns]='5' [cellSpacing]='cellSpacing' [panels]='panels' (created)="onSaveClick()">
1817
</ejs-dashboardlayout>
1918
</div>
2019
<div class="inline" id="properties">
21-
<button ejs-button id='saveBtn' #saveBtn cssClass="e-primary" (click)='onSaveClick($event)'>Save</button>
22-
<button ejs-button id='restoreBtn' #restoreBtn cssClass="e-flat e-outline" (click)='onrestoreClick($event)'>Restore</button>
20+
<button ejs-button id='saveBtn' #saveBtn cssClass="e-primary" (click)='onSaveClick()'>Save</button>
21+
<button ejs-button id='restoreBtn' #restoreBtn cssClass="e-flat e-outline" (click)='onrestoreClick()'>Restore</button>
2322
</div>
2423
</div>`,
2524
encapsulation: ViewEncapsulation.None
@@ -39,7 +38,7 @@ export class AppComponent {
3938
{ "sizeX": 1, "sizeY": 1, "row": 2, "col": 3, content: '<div class="content">6</div>' }
4039
];
4140

42-
onSaveClick(args: any) {
41+
onSaveClick() {
4342
this.restoreModel = this.dashboard?.serialize();
4443
this.restoreModel[0].content = '<div class="content">0</div>';
4544
this.restoreModel[1].content = '<div class="content">1</div>';
@@ -50,7 +49,7 @@ export class AppComponent {
5049
this.restoreModel[6].content = '<div class="content">6</div>';
5150
}
5251

53-
onrestoreClick(args: any) {
52+
onrestoreClick() {
5453
this.dashboard!.panels = this.restoreModel;
5554
}
5655
}

ej2-angular/frameworks-and-feature/angular-aot.md

Lines changed: 0 additions & 66 deletions
This file was deleted.

ej2-angular/frameworks-and-feature/tree-shaking.md

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,23 +12,23 @@ domainurl: ##DomainURL##
1212

1313
Tree shaking is a powerful optimization technique used in modern JavaScript and TypeScript development with tools like Webpack or Rollup. Its main goal is to remove dead or unused code from the application's bundle, resulting in smaller, more efficient, and faster-loading web applications.
1414

15-
In this guide, we explore how tree shaking is implemented in Angular applications and how it synergizes with Syncfusion<sup style="font-size:70%">&reg;</sup> Angular components to optimize performance.
15+
In this guide, how tree shaking is implemented in Angular applications and how it synergizes with Syncfusion Angular components to optimize performance is explored.
1616

1717
## Tree Shaking in Angular
1818

1919
The Angular CLI, utilizing Webpack for bundling script files, has supported tree shaking since Angular CLI version 2. Tree shaking operates on the static structure of ES2015 module syntax, using `import` and `export` declarations. Any exported functions or methods that are not used in your code are considered unnecessary and removed from the output bundle. This results in improved performance, with faster load times and consequently a better user experience.
2020

21-
N> Ahead Of Time (AOT) compilation process performs tree shaking in the Angular application, which was enabled by default starting from Angular version 9. To know more about AOT compilation, refer to this [documentation](./angular-aot).
21+
N> Ahead Of Time (AOT) compilation process performs tree shaking in the Angular application, which was enabled by default starting from Angular version 9.
2222

2323
## Using Syncfusion<sup style="font-size:70%">&reg;</sup> components with Tree Shaking
2424

2525
Syncfusion<sup style="font-size:70%">&reg;</sup> Angular components support Tree Shaking by default and do not require any additional changes at the application level.
2626

2727
## Implementing Tree Shaking in an Angular Application
2828

29-
Follow these steps to implement an Angular application with Syncfusion<sup style="font-size:70%">&reg;</sup> components, optimizing it through tree shaking:
29+
Follow these steps to implement an Angular application with Syncfusion components, optimizing it through tree shaking:
3030

31-
1. **Create an Angular Application:** Begin with the Syncfusion<sup style="font-size:70%">&reg;</sup> Angular DataGrid component as outlined in the [Getting Started](https://ej2.syncfusion.com/angular/documentation/getting-started/angular-standalone) guide using Angular Standalone.
31+
1. **Create an Angular Application:** Begin with the Syncfusion Angular DataGrid component as outlined in the [Getting Started](https://ej2.syncfusion.com/angular/documentation/getting-started/angular-standalone) guide using Angular Standalone.
3232

3333
2. **Configuration for Tree Shaking:** Modify the `angular.json` configuration file to enable optimization features for tree shaking.
3434

@@ -55,7 +55,7 @@ Follow these steps to implement an Angular application with Syncfusion<sup style
5555

5656
> [Explore the Angular Tree Shaking Example on GitHub](https://github.com/SyncfusionExamples/syncfusion-angular-tree-shaking)
5757
58-
By adhering to these practices, you can significantly enhance the performance of your Angular application and deliver an improved user experience.
58+
By adhering to these practices, the performance of the Angular application can be significantly enhanced, delivering an improved user experience.
5959

6060
## Bundle size for Syncfusion<sup style="font-size:70%">&reg;</sup> Angular Grid component
6161

@@ -70,8 +70,4 @@ The following table demonstrates the size of the Grid module and includes the ad
7070
| FilterService | 1.68 MB | 333.16 kB |
7171
| GroupService | 1.73 MB | 340.22 kB |
7272

73-
N> Make sure you are using `GridModule` for the DataGrid component instead of `GridAllModule`. Using `GridAllModule` will increase the bundle size by including all features of DataGrid. To know about the feature modules of DataGrid, refer to this [documentation](https://ej2.syncfusion.com/angular/documentation/grid/module).
74-
75-
## See also
76-
77-
* [Ahead-Of-Time (AOT) compilation](./angular-aot)
73+
N> Make sure to use `GridModule` for the DataGrid component instead of `GridAllModule`. Using `GridAllModule` will increase the bundle size by including all features of DataGrid. To know about the feature modules of DataGrid, refer to this [documentation](https://ej2.syncfusion.com/angular/documentation/grid/module).

0 commit comments

Comments
 (0)