carbon / directioneditor
Direction Editor for Neos CMS
Installs: 719
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Language:JavaScript
Type:neos-carbon
Requires
- neos/neos: ^7.3 || ^8.0 || ^9.0
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