Comments (2)
Hey @ABIOLI-COM awesome that you found the project useful once again. 😁
I've been thinking of releasing the project as a NuGet package and making all features configurable and togglable which I think is what you have tried to achieve by copying the SVG
, Path
, Shape
, etc. classes.
This is a list of the things I would like to be configurable on the SVG
component so that people don't need to modify (or copy) it. If you have any other things that you would like to be configurable or be able to toggle off then please note so. 😀
- Disable/enable context menu
- Disable/enable zoom
- Disable/enable panning
- Disable/enable deselecting elements
- Disable/enable selecting elements
- Disable/enable window marking of multiple shaped
- Disable anchors and lines (basically meaning disabling shape edits)
- Add/remove/reorder/replace all individual menu items.
- Add/remove shape handlers
- Add/remove animation handlers
- Change primary and secondary colors for anchors, striped lines, scalar boxes, and the background.
All of the above would then be configurable but with the defaults that are the current ones. What do you think of this and are there any settings that you would be missing for your use case?
I'm updating the above checklist as I add support for configuring each part.
from blazor.svgeditor.
@ABIOLI-COM I have released the project to NuGet now with features that should make it more configurable so that you don't have to do source code copying. Here is a link to the NuGet package: https://www.nuget.org/packages/KristofferStrube.Blazor.SVGEditor
You can check out two examples of how to use this here:
https://kristofferstrube.github.io/Blazor.SVGEditor/Minimal/
https://kristofferstrube.github.io/Blazor.SVGEditor/CustomElements/
If you would like to test using it in one of your projects then I would be very happy to get any feedback you might have.
from blazor.svgeditor.
Related Issues (20)
- Feature: Panning and zooming on mobile HOT 1
- Feature: Possible natural mapping for stroke-dasharray
- Feature: Virtualization
- Could not find 'blazorContextMenu.SetMenuHandlerReference' ('blazorContextMenu' was undefined) HOT 16
- Feature: Background graphics HOT 2
- Feature: Rotation
- Awesome Project, I want to integrate SVG into my Blazor Canvas HOT 1
- Feature: Fit viewport to Shapes HOT 1
- Bug: Selection is lost when zooming with touch
- Bug: Complete Without Close Instruction gets `ArgumentOutOfRangeException`.
- Feature: Have Stroke Dash Offset animation value change reflect on keyup and change.
- Self Closing Tags Not Supported HOT 2
- Feature: Add automatic centering and scaling function after svg file loaded HOT 4
- cannot run this project in Linux HOT 2
- Color Picker css not load HOT 1
- Bugix : `Elements.IndexOf(element)` value should be checked to avoid crashes HOT 2
- Annotations on an image HOT 4
- Access to internal instructions (and adding new elements by instructions) HOT 7
- Any idea on how to export such an SVG to some image format (jpg, png...)? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from blazor.svgeditor.