Files
Umbraco-CMS/src/Umbraco.Web.UI.Client/examples/workspace-context-counter
Warren Buckley e3d0acc8a2 Adds CONST for 'Umb.Condition.WorkspaceAlias' (#2454)
* Add a const for 'Umb.Condition.WorkspaceAlias'

* Update usages 'Umb.Condition.WorkspaceAlias' of to the new CONST

* Somehow accidently deleted .nvmrc

* Change from 'src/packages/core/workspace/conditions/const.js' to '@umbraco-cms/backoffice/workspace' as the import

* Another fix from the build errors from GitHub - didnt come up locally which was weird

* Update src/packages/core/workspace/conditions/workspace-alias.condition.ts

Co-authored-by: Jacob Overgaard <752371+iOvergaard@users.noreply.github.com>

* Renames the consts as agreed in the PR and adds the deprecated notice

---------

Co-authored-by: Jacob Overgaard <752371+iOvergaard@users.noreply.github.com>
2024-10-15 09:17:11 +02:00
..
2024-08-19 15:02:26 +02:00

Workspace Context Counter Example

This example demonstrates the essence of the Workspace Context.

The Workspace Context is available for everything within the Workspace, giving any extension within the ability to communicate through this. In this example, the Workspace Context houses a counter, which can be incremented by a Workspace Action and shown in the Workspace View.

To demonstrate this, the example comes with: A Workspace Context, A Workspace Action and a Workspace View.