Module: @bldr/vue-app-presentation/lib

@bldr/vue-app-presentation/lib

Code which can shared in all parts of the app.

Classes

DomSteps
GrabFromObjects
DomStepElement
DomStepElementGroup

Methods

module:@bldr/vue-app-presentation/lib.validateUri (uri)ExecFileSyncOptionsWithStringEncoding static

Check if the input is a valid URI. Prefix with id: if necessary.

Name Type Description
uri String

The URI to validate.

Returns:
Type Description
ExecFileSyncOptionsWithStringEncoding

module:@bldr/vue-app-presentation/lib.warnSvgWidthHeight (filePath) static

Search for SVG files in the HTML tree and warn if there are width and height attributes set. With width and height attributes SVGs could not resized easily in IMG tags. The slide preview depends on resizeable SVGs.

Name Type Description
filePath string

Path of the SVG. Only need for better error messages.