Skip to content

Commit 10844f0

Browse files
committed
Linting. Word clarity.
1 parent cd104ab commit 10844f0

File tree

1 file changed

+3
-3
lines changed
  • 16/umbraco-cms/customizing/extending-overview/extension-types

1 file changed

+3
-3
lines changed

16/umbraco-cms/customizing/extending-overview/extension-types/header-apps.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Extension authors can create header apps that link to resource both inside and o
1313

1414
To create a link-style header app, define a `headerApp` extension in the `umbraco-package.json` file. Be sure to include `meta.label` and `meta.icon` so that your header app appears when you reload the backoffice.
1515

16-
If `meta.href` is defined, the header app will function as a link. The link will open in a new tab if the href value is a full url (complete with a protocol scheme, ex: https://), otherwise it will open in the same tab.
16+
If `meta.href` is defined, the header app will function as a link. Links will open in the same tab, unless the href property includes a protocol scheme (ex: `https://`).
1717

1818
Header Apps can also be created using TypeScript. Examples of both approaches are shown below.
1919

@@ -70,7 +70,7 @@ umbExtensionsRegistry.register(manifest);
7070

7171
## Button Header Apps with deeper interactivity
7272

73-
Extension authors can also create header apps that have more interactivity than a simple link.
73+
Extension authors can also create header apps that have more interactivity than a link.
7474

7575
By creating a custom component, extension authors can control how the button renders itself and how it behaves when clicked. This allows header apps to control navigation, open modals, or perform other actions.
7676

@@ -102,7 +102,7 @@ In order for a header app to have some functionality, extension authors will nee
102102
{% endcode %}
103103
{% endtab %}
104104
{% tab title="TypeScript" %}
105-
*This example assumes that the extension author has transpiled the above TypeScript code into a JavaScript file. The name and location of this file should match the `element` property in the manifest.*
105+
This example assumes that the extension author has transpiled the above TypeScript code into a JavaScript file. The name and location of the transpiled file should match the `element` property in the package manifest.
106106
{% code title="src/server-services-header.ts" lineNumbers="true" %}
107107
```typescript
108108
import { html, customElement } from "@umbraco-cms/backoffice/external/lit";

0 commit comments

Comments
 (0)