You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: ej2-angular/browser.md
+33-32Lines changed: 33 additions & 32 deletions
Original file line number
Diff line number
Diff line change
@@ -10,51 +10,52 @@ domainurl: ##DomainURL##
10
10
11
11
# Browser Compatibility in Angular
12
12
13
-
Syncfusion<supstyle="font-size:70%">®</sup> Angular UI components are compatible with modern browsers. The following versions are supported:
13
+
Syncfusion<supstyle="font-size:70%">®</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.
14
14
15
-
| Chrome | Firefox | Opera | Edge | IE | Safari | iOS | Android | Windows Mobile |
The following table lists the minimum supported versions for various browsers:
20
18
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 |
22
25
23
-
Syncfusion<supstyle="font-size:70%">®</sup> Angular UI components are compatible with Internet Explorer 11 (IE 11) when using the ES6 Promise polyfill.
24
26
25
-
## Ways to Add Polyfills
27
+
> Note: "Latest" refers to the most recent stable version of the browser.
26
28
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).
28
30
29
-
### Polyfill with CDN
31
+
##Modern Web Development and Browser Support
30
32
31
-
Add the ES6 Promise polyfill to your HTML file using the following CDN links:
33
+
Syncfusion<supstyle="font-size:70%">®</sup> Angular UI components leverage modern web standards for optimal performance and reduced dependency on polyfills or compatibility layers.
32
34
33
-
```html
34
-
<!-- Automatically provides/replaces `Promise` if missing or broken. -->
-[Can I Use](https://caniuse.com/) - Check browser support for web technologies
60
+
61
+
Syncfusion<supstyle="font-size:70%">®</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.
Copy file name to clipboardExpand all lines: ej2-angular/frameworks-and-feature/tree-shaking.md
+6-10Lines changed: 6 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -12,23 +12,23 @@ domainurl: ##DomainURL##
12
12
13
13
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.
14
14
15
-
In this guide, we explore how tree shaking is implemented in Angular applications and how it synergizes with Syncfusion<supstyle="font-size:70%">®</sup> Angular components to optimize performance.
15
+
In this guide, how tree shaking is implemented in Angular applications and how it synergizes with SyncfusionAngular components to optimize performance is explored.
16
16
17
17
## Tree Shaking in Angular
18
18
19
19
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.
20
20
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.
22
22
23
23
## Using Syncfusion<supstyle="font-size:70%">®</sup> components with Tree Shaking
24
24
25
25
Syncfusion<supstyle="font-size:70%">®</sup> Angular components support Tree Shaking by default and do not require any additional changes at the application level.
26
26
27
27
## Implementing Tree Shaking in an Angular Application
28
28
29
-
Follow these steps to implement an Angular application with Syncfusion<supstyle="font-size:70%">®</sup> components, optimizing it through tree shaking:
29
+
Follow these steps to implement an Angular application with Syncfusion components, optimizing it through tree shaking:
30
30
31
-
1.**Create an Angular Application:** Begin with the Syncfusion<supstyle="font-size:70%">®</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.
32
32
33
33
2.**Configuration for Tree Shaking:** Modify the `angular.json` configuration file to enable optimization features for tree shaking.
34
34
@@ -55,7 +55,7 @@ Follow these steps to implement an Angular application with Syncfusion<sup style
55
55
56
56
> [Explore the Angular Tree Shaking Example on GitHub](https://github.com/SyncfusionExamples/syncfusion-angular-tree-shaking)
57
57
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.
59
59
60
60
## Bundle size for Syncfusion<supstyle="font-size:70%">®</sup> Angular Grid component
61
61
@@ -70,8 +70,4 @@ The following table demonstrates the size of the Grid module and includes the ad
70
70
| FilterService | 1.68 MB | 333.16 kB |
71
71
| GroupService | 1.73 MB | 340.22 kB |
72
72
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