carbon / directioneditor
Direction Editor for Neos CMS
Package info
github.com/CarbonPackages/Carbon.DirectionEditor
Language:JavaScript
Type:neos-carbon
pkg:composer/carbon/directioneditor
0.1.2
2024-10-28 17:08 UTC
Requires
- neos/neos: ^7.3 || ^8.0 || ^9.0
This package is auto-updated.
Last update: 2026-03-12 13:33:13 UTC
README
Direction Editor for Neos CMS
This package provides a small editor to set directions. Useful for settings animation directions.
If center is set, the value is an empty string.
Example:
'Foo.Bar:Element': properties: direction: type: string ui: inspector: editor: 'Carbon.DirectionEditor/Editor' editorOptions: propertyMapping: false north: true east: true south: true west: true northEast: true northWest: true southEast: true southWest: true center: 'If it is a string, it used as label' disabled: false
You can change the saved values if you alter the propertyMapping:
'Foo.Bar:Element': properties: direction: type: string ui: inspector: editor: 'Carbon.DirectionEditor/Editor' editorOptions: propertyMapping: north: top south: bottom
In the example above, north will get saved as top and south as bottom