13

TX Text Control Packages for Angular 11.0 Published

 3 years ago
source link: https://www.textcontrol.com/blog/2021/04/28/tx-text-control-packages-for-angular-11-published/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client
TX Text Control Packages for Angular 11.0 Published

We published new npm packages for the TX Text Control DocumentEditor and DocumentViewer with Angular 11.0 support.

We released the following packages compatible to TX Text Control .NET Server for ASP.NET X19:

Updating npm Packages

In Angular, npm is used to update packages. If you are updating from an older major version, the command update cannot be used to install the latest major version. Instead, the command install is required. The following command installs the latest release of the Angular document editor into the current project:

npm install @txtextcontrol/tx-ng-document-editor@latest

Added Strict Support

Angular 11 (since 10 experimental) allows you to create a new workspace in a strict mode. In order to be compatible with this strict mode, attribute values must be provided in a different way. For the Document Viewer, a typical component.html would look like this:

<tx-document-viewer width = "800px" height = "800px" basePath = "https://backend.textcontrol.com?access-token=yourtoken" documentData = "SGVsbG8gdGhlcmU=" dock = "Window" [toolbarDocked] = "true" documentPath = "test.docx" [isSelectionActivated] = "true" [showThumbnailPane] = "true"> </tx-document-viewer>

Learn more about our Angular components here:

TX Text Control for Angular


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK