Browse Source

UI: JavaScript resource help popup too wide width issue: use [helpPopupStyle].

pull/13160/head
deaflynx 2 years ago
parent
commit
713050937c
  1. 1
      ui-ngx/src/app/modules/home/pages/admin/resource/js-resource.component.html
  2. 3
      ui-ngx/src/assets/help/en_US/resource/js-resource-module_fn.md

1
ui-ngx/src/app/modules/home/pages/admin/resource/js-resource.component.html

@ -80,6 +80,7 @@
(fileNameChanged)="entityForm?.get('fileName').patchValue($event)">
</tb-file-input>
<tb-js-func *ngIf="entityForm.get('resourceSubType').value === ResourceSubType.MODULE"
[helpPopupStyle]="{ width: '1000px' }"
helpId="resource/js-resource-module_fn"
formControlName="content"
required

3
ui-ngx/src/assets/help/en_US/resource/js-resource-module_fn.md

@ -14,8 +14,7 @@ JavaScript resource modules are advantageous for reusing custom logic. They can
- Cell content functions.
- Custom actions.
These modules can contain any JavaScript code, facilitating the reuse of specific logic. This includes variables or functions<br>
that are exported for use in other parts of the application.
These modules can contain any JavaScript code, facilitating the reuse of specific logic. This includes variables or functions that are exported for use in other parts of the application.
##### Examples
You can declare variables:

Loading…
Cancel
Save