Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add value setter to represent an existing signature #25

Open
gullerya opened this issue Dec 31, 2022 · 0 comments
Open

add value setter to represent an existing signature #25

gullerya opened this issue Dec 31, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@gullerya
Copy link
Owner

Since standardization called to maintain value property:

  • getter is already well defined in another place
  • setter should be added here:
    • set to null should effectively clear the signature (another ticket mention removal of clear method)
    • set should also accept string that will be treated as outerHTML of SVG element
    • still not clear if set should also accept Blob that will be treated as canvas input
    • in any case - when value is set with an existing signature (not empty) - element moves into a read-only mode and only clearing it 'unlocks' that (or if explicitly 'unlocked' - do clear)
@gullerya gullerya self-assigned this Dec 31, 2022
@gullerya gullerya added the enhancement New feature or request label Dec 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant