Class ImgTransformElement
Hierarchy
- HTMLElement
- ImgTransformElement
Index
Constructors
Properties
__did Placeholder Warning?
[rf Symbol]?
prop Todd?
prop Wh Cleanup Function?
prop Wh Form Current Enabled?
prop Wh Form Current Required?
prop Wh Form Current Visible?
prop Wh Formhandler?
prop Wh Form Initial Required?
prop Wh Formline Current Visible?
prop Wh Form Saved Enabled?
prop Wh Form Saved Hidden?
prop Wh Form Saved Required?
prop Wh Node Current Enabled?
prop Wh Node Current Hidden?
prop Wh Node Current Required?
prop Wh Validation Suggestion?
wh Forms Api Checker?
wh Use Form Get Value?
wh Validation Polyfilled?
observed Attributes
Methods
Constructors
constructor
Returns ImgTransformElement
Properties
Optional
__did Placeholder Warning
__didPlaceholderWarning?: boolean
Optional
[rf Symbol]
"[rfSymbol]"?: FormFieldAPI
Optional
prop Todd
propTodd?: ToddCompBase<ComponentStandardAttributes>
Optional
prop Wh Cleanup Function
propWhCleanupFunction?: () => void
Optional
prop Wh Form Current Enabled
propWhFormCurrentEnabled?: boolean
Optional
prop Wh Form Current Required
propWhFormCurrentRequired?: boolean
Optional
prop Wh Form Current Visible
propWhFormCurrentVisible?: boolean
Optional
prop Wh Formhandler
propWhFormhandler?: FormBase<object>
Optional
prop Wh Form Initial Required
propWhFormInitialRequired?: boolean
Optional
prop Wh Formline Current Visible
propWhFormlineCurrentVisible?: boolean
Optional
prop Wh Form Saved Enabled
propWhFormSavedEnabled?: boolean
Optional
prop Wh Form Saved Hidden
propWhFormSavedHidden?: boolean
Optional
prop Wh Form Saved Required
propWhFormSavedRequired?: boolean
Optional
prop Wh Node Current Enabled
propWhNodeCurrentEnabled?: boolean
Optional
prop Wh Node Current Hidden
propWhNodeCurrentHidden?: boolean
Optional
prop Wh Node Current Required
propWhNodeCurrentRequired?: boolean
Optional
prop Wh Validation Suggestion
propWhValidationSuggestion?: null | FormFrontendMessage
Optional
wh Forms Api Checker
whFormsApiChecker?: () => void | Promise<void>
Optional
wh Use Form Get Value
whUseFormGetValue?: boolean
Optional
wh Validation Polyfilled
whValidationPolyfilled?: boolean
Static
observed Attributes
observedAttributes: string[] = ...
Methods
attribute Changed Callback
Returns void
connected Callback
Returns void
init Editor
Returns void
load Image
Load a blob into the canvas
Parameters
- image: Blob
Optional
settings: Partial<ImgTransformSettings>
Returns Promise<void>
save Image
- saveImage(
options?: ImgTransformSaveOptions,
): Promise<{ blob: Blob; settings: ImgTransformSettings }>Parameters
Optional
options: ImgTransformSaveOptions
Returns Promise<{ blob: Blob; settings: ImgTransformSettings }>
Deprecated
Use
getFormHandler
orgetFormData
from@webhare/forms
to access the form's API