Skip to content
scalive
Menu
ConnectingLiveReconnectingOffline
GitHub
o

svg

object svg extends defs.tags.SvgTags with defs.attrs.SvgAttrs

Inline SVG: svg(...) creates an <svg> element, and the members are SVG tags and attributes.

Their names, such as path, text, x, and d, would clash with HTML and application code, so they stay under svg, as in svg(svg.viewBox := "0 0 24 24", svg.path(svg.d := "M4 12h16", svg.stroke := "currentColor")). HTML attributes such as cls and idAttr apply to SVG elements too. See inline SVG.

Defined by scalive.svg. View source (scalive/api/src/scalive/Scalive.scala:43-45)

Methods1

apply

def apply[Msg](mods: Mod.Input[Msg]*): HtmlElement[Msg]

Creates an <svg> element from mods.

Defined by scalive.svg.apply. View source (scalive/api/src/scalive/Scalive.scala:45-45)

Values241

a

lazy val a: HtmlTag

Represents a hyperlink, linking to another resource.

Inherited from scalive.defs.tags.SvgTags.a. View source (Generated from Scala DOM Types 19.0.2)

accentHeight

lazy val accentHeight: HtmlAttr[Double]

This attribute defines the distance from the origin to the top of accent characters, measured by a distance within the font coordinate system. If the attribute is not specified, the effect is as if the attribute were set to the value of the ascent attribute.

Value <number>

accent-height @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.accentHeight. View source (Generated from Scala DOM Types 19.0.2)

accumulate

lazy val accumulate: HtmlAttr[String]

This attribute controls whether or not the animation is cumulative. It is frequently useful for repeated animations to build upon the previous results, accumulating with each iteration. This attribute said to the animation if the value is added to the previous animated attribute's value on each iteration.

Value none | sum

accumulate @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.accumulate. View source (Generated from Scala DOM Types 19.0.2)

additive

lazy val additive: HtmlAttr[String]

This attribute controls whether or not the animation is additive. It is frequently useful to define animation as an offset or delta to an attribute's value, rather than as absolute values. This attribute said to the animation if their values are added to the original animated attribute's value.

Value replace | sum

additive @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.additive. View source (Generated from Scala DOM Types 19.0.2)

alignmentBaseline

lazy val alignmentBaseline: HtmlAttr[String]

The alignment-baseline attribute specifies how an object is aligned with respect to its parent. This property specifies which baseline of this element is to be aligned with the corresponding baseline of the parent. For example, this allows alphabetic baselines in Roman text to stay aligned across font size changes. It defaults to the baseline with the same name as the computed value of the alignment-baseline property. As a presentation attribute, it also can be used as a property directly inside a CSS stylesheet, see css alignment-baseline for further information.

Value: auto | baseline | before-edge | text-before-edge | middle | central | after-edge | text-after-edge | ideographic | alphabetic | hanging | mathematical | inherit

alignment-baseline @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.alignmentBaseline. View source (Generated from Scala DOM Types 19.0.2)

altGlyph

lazy val altGlyph: HtmlTag

The altGlyph element allows sophisticated selection of the glyphs used to render its child character data.

altGlyph @ MDN

Inherited from scalive.defs.tags.SvgTags.altGlyph. View source (Generated from Scala DOM Types 19.0.2)

altGlyphDef

lazy val altGlyphDef: HtmlTag

The altGlyphDef element defines a substitution representation for glyphs.

altGlyphDef @ MDN

Inherited from scalive.defs.tags.SvgTags.altGlyphDef. View source (Generated from Scala DOM Types 19.0.2)

altGlyphItem

lazy val altGlyphItem: HtmlTag

The altGlyphItem element provides a set of candidates for glyph substitution by the altGlyph element.

altGlyphItem @ MDN

Inherited from scalive.defs.tags.SvgTags.altGlyphItem. View source (Generated from Scala DOM Types 19.0.2)

animate

lazy val animate: HtmlTag

The animate element is put inside a shape element and defines how an attribute of an element changes over the animation

animate @ MDN

Inherited from scalive.defs.tags.SvgTags.animate. View source (Generated from Scala DOM Types 19.0.2)

animateMotion

lazy val animateMotion: HtmlTag

The animateMotion element causes a referenced element to move along a motion path.

animateMotion @ MDN

Inherited from scalive.defs.tags.SvgTags.animateMotion. View source (Generated from Scala DOM Types 19.0.2)

animateTransform

lazy val animateTransform: HtmlTag

The animateTransform element animates a transformation attribute on a target element, thereby allowing animations to control translation, scaling, rotation and/or skewing.

animateTransform @ MDN

Inherited from scalive.defs.tags.SvgTags.animateTransform. View source (Generated from Scala DOM Types 19.0.2)

ascent

lazy val ascent: HtmlAttr[Double]

This attribute defines the maximum unaccented depth of the font within the font coordinate system. If the attribute is not specified, the effect is as if the attribute were set to the vert-origin-y value for the corresponding font.

Value <number>

ascent @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.ascent. View source (Generated from Scala DOM Types 19.0.2)

attributeName

lazy val attributeName: HtmlAttr[String]

This attribute indicates the name of the attribute in the parent element that is going to be changed during an animation.

Value <attributeName>

attributeName @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.attributeName. View source (Generated from Scala DOM Types 19.0.2)

attributeType

lazy val attributeType: HtmlAttr[String]

This attribute specifies the namespace in which the target attribute and its associated values are defined.

Value CSS | XML | auto

attributeType @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.attributeType. View source (Generated from Scala DOM Types 19.0.2)

azimuth

lazy val azimuth: HtmlAttr[Double]

The azimuth attribute represent the direction angle for the light source on the XY plane (clockwise), in degrees from the x axis. If the attribute is not specified, then the effect is as if a value of 0 were specified.

Value <number>

azimuth @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.azimuth. View source (Generated from Scala DOM Types 19.0.2)

baseFrequency

lazy val baseFrequency: HtmlAttr[String]

The baseFrequency attribute represent The base frequencies parameter for the noise function of the <feturbulence> primitive. If two <number>s are provided, the first number represents a base frequency in the X direction and the second value represents a base frequency in the Y direction. If one number is provided, then that value is used for both X and Y. Negative values are forbidden. If the attribute is not specified, then the effect is as if a value of 0 were specified.

Value <number-optional-number>

baseFrequency @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.baseFrequency. View source (Generated from Scala DOM Types 19.0.2)

baselineShift

lazy val baselineShift: HtmlAttr[String]

The baseline-shift attribute allows repositioning of the dominant-baseline relative to the dominant-baseline of the parent text content element. The shifted object might be a sub- or superscript. As a presentation attribute, it also can be used as a property directly inside a CSS stylesheet, see css baseline-shift for further information.

Value auto | baseline | sup | sub | <percentage> | <length> | inherit

baseline-shift @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.baselineShift. View source (Generated from Scala DOM Types 19.0.2)

begin

lazy val begin: HtmlAttr[String]

This attribute defines when an animation should begin. The attribute value is a semicolon separated list of values. The interpretation of a list of start times is detailed in the SMIL specification in "Evaluation of begin and end time lists". Each individual value can be one of the following: <offset-value>, <syncbase-value>, <event-value>, <repeat-value>, <accessKey-value>, <wallclock-sync-value> or the keyword indefinite.

Value <begin-value-list>

begin @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.begin. View source (Generated from Scala DOM Types 19.0.2)

bias

lazy val bias: HtmlAttr[Double]

The bias attribute shifts the range of the filter. After applying the kernelMatrix of the <feConvolveMatrix> element to the input image to yield a number and applied the divisor attribute, the bias attribute is added to each component. This allows representation of values that would otherwise be clamped to 0 or 1. If bias is not specified, then the effect is as if a value of 0 were specified.

Value <number>

bias @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.bias. View source (Generated from Scala DOM Types 19.0.2)

calcMode

lazy val calcMode: HtmlAttr[String]

This attribute specifies the interpolation mode for the animation. The default mode is linear, however if the attribute does not support linear interpolation (e.g. for strings), the calcMode attribute is ignored and discrete interpolation is used.

Value discrete | linear | paced | spline

calcMode @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.calcMode. View source (Generated from Scala DOM Types 19.0.2)

circle

lazy val circle: HtmlTag

The circle element is an SVG basic shape, used to create circles based on a center point and a radius.

Inherited from scalive.defs.tags.SvgTags.circle. View source (Generated from Scala DOM Types 19.0.2)

clip

lazy val clip: HtmlAttr[String]

The clip attribute has the same parameter values as defined for the css clip property. Unitless values, which indicate current user coordinates, are permitted on the coordinate values on the <shape>. The value of auto defines a clipping path along the bounds of the viewport created by the given element. As a presentation attribute, it also can be used as a property directly inside a CSS stylesheet, see css clip for further information.

Value auto | <shape> | inherit

clip @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.clip. View source (Generated from Scala DOM Types 19.0.2)

clipPathAttr

lazy val clipPathAttr: HtmlAttr[String]

The clip-path attribute bind the element is applied to with a given <clipPath> element As a presentation attribute, it also can be used as a property directly inside a CSS stylesheet

Value <FuncIRI> | none | inherit

clip-path @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.clipPathAttr. View source (Generated from Scala DOM Types 19.0.2)

clipPathTag

lazy val clipPathTag: HtmlTag

The clipping path restricts the region to which paint can be applied. Conceptually, any parts of the drawing that lie outside of the region bounded by the currently active clipping path are not drawn.

Inherited from scalive.defs.tags.SvgTags.clipPathTag. View source (Generated from Scala DOM Types 19.0.2)

clipPathUnits

lazy val clipPathUnits: HtmlAttr[String]

The clipPathUnits attribute defines the coordinate system for the contents of the <clipPath> element. the clipPathUnits attribute is not specified, then the effect is as if a value of userSpaceOnUse were specified. Note that values defined as a percentage inside the content of the <clipPath> are not affected by this attribute. It means that even if you set the value of maskContentUnits to objectBoundingBox, percentage values will be calculated as if the value of the attribute were userSpaceOnUse.

Value userSpaceOnUse | objectBoundingBox

clipPathUnits @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.clipPathUnits. View source (Generated from Scala DOM Types 19.0.2)

clipRule

lazy val clipRule: HtmlAttr[String]

The clip-rule attribute only applies to graphics elements that are contained within a <clipPath> element. The clip-rule attribute basically works as the fill-rule attribute, except that it applies to <clipPath> definitions.

Value nonezero | evenodd | inherit

clip-rule @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.clipRule. View source (Generated from Scala DOM Types 19.0.2)

color

lazy val color: HtmlAttr[String]

The color attribute is used to provide a potential indirect value (currentColor) for the fill, stroke, stop-color, flood-color and lighting-color attributes. As a presentation attribute, it also can be used as a property directly inside a CSS stylesheet, see css color for further information.

Value <color> | inherit

color @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.color. View source (Generated from Scala DOM Types 19.0.2)

colorInterpolation

lazy val colorInterpolation: HtmlAttr[String]

The color-interpolation attribute specifies the color space for gradient interpolations, color animations and alpha compositing.When a child element is blended into a background, the value of the color-interpolation attribute on the child determines the type of blending, not the value of the color-interpolation on the parent. For gradients which make use of the xlink:href attribute to reference another gradient, the gradient uses the color-interpolation attribute value from the gradient element which is directly referenced by the fill or stroke attribute. When animating colors, color interpolation is performed according to the value of the color-interpolation attribute on the element being animated. As a presentation attribute, it also can be used as a property directly inside a CSS stylesheet, see css color-interpolation for further information

Value auto | sRGB | linearRGB | inherit

color-interpolation @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.colorInterpolation. View source (Generated from Scala DOM Types 19.0.2)

colorInterpolationFilters

lazy val colorInterpolationFilters: HtmlAttr[String]

The color-interpolation-filters attribute specifies the color space for imaging operations performed via filter effects. Note that color-interpolation-filters has a different initial value than color-interpolation. color-interpolation-filters has an initial value of linearRGB, whereas color-interpolation has an initial value of sRGB. Thus, in the default case, filter effects operations occur in the linearRGB color space, whereas all other color interpolations occur by default in the sRGB color space. As a presentation attribute, it also can be used as a property directly inside a CSS stylesheet, see css color-interpolation-filters for further information

Value auto | sRGB | linearRGB | inherit

color-interpolation-filters @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.colorInterpolationFilters. View source (Generated from Scala DOM Types 19.0.2)

colorProfileAttr

lazy val colorProfileAttr: HtmlAttr[String]

The color-profile attribute is used to define which color profile a raster image included through the <image> element should use. As a presentation attribute, it also can be used as a property directly inside a CSS stylesheet, see css color-profile for further information.

Value auto | sRGB | <name> | <IRI> | inherit

color-profile @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.colorProfileAttr. View source (Generated from Scala DOM Types 19.0.2)

colorProfileTag

lazy val colorProfileTag: HtmlTag

The element allows describing the color profile used for the image.

color-profile @ MDN

Inherited from scalive.defs.tags.SvgTags.colorProfileTag. View source (Generated from Scala DOM Types 19.0.2)

colorRendering

lazy val colorRendering: HtmlAttr[String]

The color-rendering attribute provides a hint to the SVG user agent about how to optimize its color interpolation and compositing operations. color-rendering takes precedence over color-interpolation-filters. For example, assume color-rendering: optimizeSpeed and color-interpolation-filters: linearRGB. In this case, the SVG user agent should perform color operations in a way that optimizes performance, which might mean sacrificing the color interpolation precision as specified by color-interpolation-filters: linearRGB. As a presentation attribute, it also can be used as a property directly inside a CSS stylesheet, see css color-rendering for further information

Value auto | optimizeSpeed | optimizeQuality | inherit

color-rendering @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.colorRendering. View source (Generated from Scala DOM Types 19.0.2)

contentScriptType

lazy val contentScriptType: HtmlAttr[String]

The contentScriptType attribute on the <svg> element specifies the default scripting language for the given document fragment. This attribute sets the default scripting language used to process the value strings in event attributes. This language must be used for all instances of script that do not specify their own scripting language. The value content-type specifies a media type, per MIME Part Two: Media Types [RFC2046]. The default value is application/ecmascript

Value <content-type>

contentScriptType @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.contentScriptType. View source (Generated from Scala DOM Types 19.0.2)

contentStyleType

lazy val contentStyleType: HtmlAttr[String]

This attribute specifies the style sheet language for the given document fragment. The contentStyleType is specified on the <svg> element. By default, if it's not defined, the value is text/css

Value <content-type>

contentStyleType @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.contentStyleType. View source (Generated from Scala DOM Types 19.0.2)

cursor

lazy val cursor: HtmlTag

The cursor element can be used to define a platform-independent custom cursor. A recommended approach for defining a platform-independent custom cursor is to create a PNG image and define a cursor element that references the PNG image and identifies the exact position within the image which is the pointer position (i.e., the hot spot).

cursor @ MDN

Inherited from scalive.defs.tags.SvgTags.cursor. View source (Generated from Scala DOM Types 19.0.2)

cursorAttr

lazy val cursorAttr: HtmlAttr[String]

The cursor attribute specifies the mouse cursor displayed when the mouse pointer is over an element.This attribute behave exactly like the css cursor property except that if the browser suport the <cursor> element, it should allow to use it with the <funciri> notation. As a presentation attribute, it also can be used as a property directly inside a CSS stylesheet, see css cursor for further information.

Value auto | crosshair | default | pointer | move | e-resize | ne-resize | nw-resize | n-resize | se-resize | sw-resize | s-resize | w-resize| text | wait | help | inherit

cursor @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.cursorAttr. View source (Generated from Scala DOM Types 19.0.2)

cx

lazy val cx: HtmlAttr[String]

For the <circle> and the <ellipse> element, this attribute define the x-axis coordinate of the center of the element. If the attribute is not specified, the effect is as if a value of "0" were specified.For the <radialGradient> element, this attribute define the x-axis coordinate of the largest (i.e., outermost) circle for the radial gradient. The gradient will be drawn such that the 100% gradient stop is mapped to the perimeter of this largest (i.e., outermost) circle. If the attribute is not specified, the effect is as if a value of 50% were specified

Value <coordinate>

cx @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.cx. View source (Generated from Scala DOM Types 19.0.2)

cy

lazy val cy: HtmlAttr[String]

For the <circle> and the <ellipse> element, this attribute define the y-axis coordinate of the center of the element. If the attribute is not specified, the effect is as if a value of "0" were specified.For the <radialGradient> element, this attribute define the x-axis coordinate of the largest (i.e., outermost) circle for the radial gradient. The gradient will be drawn such that the 100% gradient stop is mapped to the perimeter of this largest (i.e., outermost) circle. If the attribute is not specified, the effect is as if a value of 50% were specified

Value <coordinate>

cy @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.cy. View source (Generated from Scala DOM Types 19.0.2)

d

lazy val d: HtmlAttr[String]

The d attribute defines a path to be drawn. It contains a series of commands and parameters used by the path element. Each command is designated by a specific letter (e.g., M for 'move to', L for 'line to', C for 'curve to', etc.). Following the command letter are the parameters for that command, typically coordinate pairs or triplets.

Value: <path-data>

d @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.d. View source (Generated from Scala DOM Types 19.0.2)

defs

lazy val defs: HtmlTag

SVG allows graphical objects to be defined for later reuse. It is recommended that, wherever possible, referenced elements be defined inside of a defs element. Defining these elements inside of a defs element promotes understandability of the SVG content and thus promotes accessibility. Graphical elements defined in a defs will not be directly rendered. You can use a use element to render those elements wherever you want on the viewport.

Inherited from scalive.defs.tags.SvgTags.defs. View source (Generated from Scala DOM Types 19.0.2)

desc

lazy val desc: HtmlTag

Each container element or graphics element in an SVG drawing can supply a desc description string where the description is text-only. When the current SVG document fragment is rendered as SVG on visual media, desc elements are not rendered as part of the graphics. Alternate presentations are possible, both visual and aural, which display the desc element but do not display path elements or other graphics elements. The desc element generally improve accessibility of SVG documents

Inherited from scalive.defs.tags.SvgTags.desc. View source (Generated from Scala DOM Types 19.0.2)

diffuseConstant

lazy val diffuseConstant: HtmlAttr[String]

The diffuseConstant attribute represents the kd value in the Phong lighting model. In SVG, this can be any non-negative number. If the attribute is not specified, then the effect is as if a value of 1 were specified.

Value: <number>

diffuseConstant @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.diffuseConstant. View source (Generated from Scala DOM Types 19.0.2)

direction

lazy val direction: HtmlAttr[String]

The direction attribute specifies the base writing direction of text and the direction of embeddings and overrides for the Unicode bidirectional algorithm. It defines whether the text is rendered left-to-right (ltr) or right-to-left (rtl). As a presentation attribute, it also can be used as a property directly inside a CSS stylesheet.

Value: ltr | rtl | inherit

direction @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.direction. View source (Generated from Scala DOM Types 19.0.2)

display

lazy val display: HtmlAttr[String]

The display attribute lets you control the rendering of graphical or container elements. A value of display="none" indicates that the given element and its children will not be rendered.

display @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.display. View source (Generated from Scala DOM Types 19.0.2)

divisor

lazy val divisor: HtmlAttr[String]

The divisor attribute specifies the value by which the resulting number of applying the kernelMatrix of the <feConvolveMatrix> element to the input image color value is divided to yield the destination color value.

Value: <number>

divisor @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.divisor. View source (Generated from Scala DOM Types 19.0.2)

dominantBaseline

lazy val dominantBaseline: HtmlAttr[String]

The dominant-baseline attribute specifies the dominant baseline, which is the baseline used to align the box's text and inline-level contents. It also indicates the default alignment baseline of any boxes participating in baseline alignment in the box's alignment context.

Value: auto | use-script | no-change | reset-size | ideographic | alphabetic | hanging | mathematical | central | middle | text-after-edge | text-before-edge | inherit

dominant-baseline @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.dominantBaseline. View source (Generated from Scala DOM Types 19.0.2)

dur

lazy val dur: HtmlAttr[String]

The dur attribute indicates the simple duration of an animation. The attribute value can be a <clock-value> or the indefinite keyword. A clock-value is a time value that can be used to control the timeline of the animation. It can be specified as hh:mm:ss.s or ms, where the former indicates hours, minutes, seconds, and milliseconds, and the latter indicates milliseconds.

Value: <clock-value> | media | indefinite

dur @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.dur. View source (Generated from Scala DOM Types 19.0.2)

dx

lazy val dx: HtmlAttr[String]

The dx attribute indicates a shift along the x-axis on the position of an element or its content. The exact effect of this attribute is dependent on the element for which it's being used. For <text> elements, dx defines the distance to offset the current text position along the x-axis. For <feOffset>, dx defines the x offset of the filter input graphic.

Value: <number> | <percentage> | <length>

dx @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.dx. View source (Generated from Scala DOM Types 19.0.2)

dy

lazy val dy: HtmlAttr[String]

The dy attribute indicates a shift along the y-axis on the position of an element or its content. The exact effect of this attribute is dependent on the element for which it's being used. For <text> elements, dy defines the distance to offset the current text position along the y-axis. For <feOffset>, dy defines the y offset of the filter input graphic.

Value: <number> | <percentage> | <length>

dy @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.dy. View source (Generated from Scala DOM Types 19.0.2)

edgeMode

lazy val edgeMode: HtmlAttr[String]

The edgeMode attribute determines how to extend the input image as necessary with color values so that the matrix operations can be applied when the kernel is positioned at or near the edge of the input image. If attribute is not specified, then the effect is as if a value of duplicate were specified.

Value: duplicate | wrap | none

edgeMode @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.edgeMode. View source (Generated from Scala DOM Types 19.0.2)

elevation

lazy val elevation: HtmlAttr[Double]

The elevation attribute specifies the direction angle for a light source from the XY plane towards the Z-axis, in degrees. Note that the positive Z-axis points towards the viewer of the content. If the attribute is not specified, then the effect is as if a value of 0 were specified.

Value: <number>

elevation @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.elevation. View source (Generated from Scala DOM Types 19.0.2)

ellipse

lazy val ellipse: HtmlTag

The ellipse element is an SVG basic shape, used to create ellipses based on a center coordinate, and both their x and y radius.

Ellipses are unable to specify the exact orientation of the ellipse (if, for example, you wanted to draw an ellipse titled at a 45 degree angle), but can be rotated by using the transform attribute.

Inherited from scalive.defs.tags.SvgTags.ellipse. View source (Generated from Scala DOM Types 19.0.2)

end

lazy val end: HtmlAttr[String]

The end attribute defines an end value for the animation that can constrain the active duration. The attribute value is a semicolon-separated list of values. Each value can be a <clock-value>, a <syncbase-value>, an <event-value>, a <repeat-value>, an <accessKey-value>, a <wallclock-sync-value> or the keyword indefinite.

Value: <end-value-list>

end @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.end. View source (Generated from Scala DOM Types 19.0.2)

externalResourcesRequired

lazy val externalResourcesRequired: HtmlAttr[String]

The externalResourcesRequired attribute is a hint to browsers about whether external resources need to be fetched for the current element to render correctly. Note: This attribute is deprecated and browsers may ignore it.

Value: true | false

externalResourcesRequired @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.externalResourcesRequired. View source (Generated from Scala DOM Types 19.0.2)

feBlend

lazy val feBlend: HtmlTag

The feBlend filter composes two objects together ruled by a certain blending mode. This is similar to what is known from image editing software when blending two layers. The mode is defined by the mode attribute.

Inherited from scalive.defs.tags.SvgTags.feBlend. View source (Generated from Scala DOM Types 19.0.2)

feColorMatrix

lazy val feColorMatrix: HtmlTag

This filter changes colors based on a transformation matrix. Every pixel's color value (represented by an [R,G,B,A] vector) is matrix multiplied to create a new color.

Inherited from scalive.defs.tags.SvgTags.feColorMatrix. View source (Generated from Scala DOM Types 19.0.2)

feComponentTransfer

lazy val feComponentTransfer: HtmlTag

The color of each pixel is modified by changing each channel (R, G, B, and A) to the result of what the children feFuncR, feFuncB, feFuncG, and feFuncA return.

Inherited from scalive.defs.tags.SvgTags.feComponentTransfer. View source (Generated from Scala DOM Types 19.0.2)

feComposite

lazy val feComposite: HtmlTag

This filter primitive performs the combination of two input images pixel-wise in image space using one of the Porter-Duff compositing operations: over, in, atop, out, xor. Additionally, a component-wise arithmetic operation (with the result clamped between [0..1]) can be applied.

Inherited from scalive.defs.tags.SvgTags.feComposite. View source (Generated from Scala DOM Types 19.0.2)

feConvolveMatrix

lazy val feConvolveMatrix: HtmlTag

the feConvolveMatrix element applies a matrix convolution filter effect. A convolution combines pixels in the input image with neighboring pixels to produce a resulting image. A wide variety of imaging operations can be achieved through convolutions, including blurring, edge detection, sharpening, embossing and beveling.

Inherited from scalive.defs.tags.SvgTags.feConvolveMatrix. View source (Generated from Scala DOM Types 19.0.2)

feDiffuseLighting

lazy val feDiffuseLighting: HtmlTag

This filter primitive lights an image using the alpha channel as a bump map. The resulting image, which is an RGBA opaque image, depends on the light color, light position and surface geometry of the input bump map.

Inherited from scalive.defs.tags.SvgTags.feDiffuseLighting. View source (Generated from Scala DOM Types 19.0.2)

feDisplacementMap

lazy val feDisplacementMap: HtmlTag

This filter primitive uses the pixels values from the image from in2 to spatially displace the image from in.

Inherited from scalive.defs.tags.SvgTags.feDisplacementMap. View source (Generated from Scala DOM Types 19.0.2)

feDistantLighting

lazy val feDistantLighting: HtmlTag

This filter primitive define a distant light source that can be used within a lighting filter primitive: feDiffuseLighting or feSpecularLighting.

Inherited from scalive.defs.tags.SvgTags.feDistantLighting. View source (Generated from Scala DOM Types 19.0.2)

feFlood

lazy val feFlood: HtmlTag

The filter fills the filter subregion with the color and opacity defined by flood-color and flood-opacity.

Inherited from scalive.defs.tags.SvgTags.feFlood. View source (Generated from Scala DOM Types 19.0.2)

feFuncA

lazy val feFuncA: HtmlTag

This filter primitive defines the transfer function for the alpha component of the input graphic of its parent feComponentTransfer element.

Inherited from scalive.defs.tags.SvgTags.feFuncA. View source (Generated from Scala DOM Types 19.0.2)

feFuncB

lazy val feFuncB: HtmlTag

This filter primitive defines the transfer function for the blue component of the input graphic of its parent feComponentTransfer element.

Inherited from scalive.defs.tags.SvgTags.feFuncB. View source (Generated from Scala DOM Types 19.0.2)

feFuncG

lazy val feFuncG: HtmlTag

This filter primitive defines the transfer function for the green component of the input graphic of its parent feComponentTransfer element.

Inherited from scalive.defs.tags.SvgTags.feFuncG. View source (Generated from Scala DOM Types 19.0.2)

feFuncR

lazy val feFuncR: HtmlTag

This filter primitive defines the transfer function for the red component of the input graphic of its parent feComponentTransfer element.

Inherited from scalive.defs.tags.SvgTags.feFuncR. View source (Generated from Scala DOM Types 19.0.2)

feGaussianBlur

lazy val feGaussianBlur: HtmlTag

The filter blurs the input image by the amount specified in stdDeviation, which defines the bell-curve.

Inherited from scalive.defs.tags.SvgTags.feGaussianBlur. View source (Generated from Scala DOM Types 19.0.2)

feImage

lazy val feImage: HtmlTag

The feImage filter fetches image data from an external source and provides the pixel data as output (meaning, if the external source is an SVG image, it is rasterize).

Inherited from scalive.defs.tags.SvgTags.feImage. View source (Generated from Scala DOM Types 19.0.2)

feMerge

lazy val feMerge: HtmlTag

The feMerge filter allows filter effects to be applied concurrently instead of sequentially. This is achieved by other filters storing their output via the result attribute and then accessing it in a feMergeNode child.

Inherited from scalive.defs.tags.SvgTags.feMerge. View source (Generated from Scala DOM Types 19.0.2)

feMergeNode

lazy val feMergeNode: HtmlTag

The feMergeNode takes the result of another filter to be processed by its parent feMerge.

Inherited from scalive.defs.tags.SvgTags.feMergeNode. View source (Generated from Scala DOM Types 19.0.2)

feMorphology

lazy val feMorphology: HtmlTag

This filter is used to erode or dilate the input image. It's usefulness lies especially in fattening or thinning effects.

Inherited from scalive.defs.tags.SvgTags.feMorphology. View source (Generated from Scala DOM Types 19.0.2)

feOffset

lazy val feOffset: HtmlTag

The input image as a whole is offset by the values specified in the dx and dy attributes. It's used in creating drop-shadows.

Inherited from scalive.defs.tags.SvgTags.feOffset. View source (Generated from Scala DOM Types 19.0.2)

fePointLight

lazy val fePointLight: HtmlTag

Defines the <fePointLight> SVG tag.

Inherited from scalive.defs.tags.SvgTags.fePointLight. View source (Generated from Scala DOM Types 19.0.2)

feSpecularLighting

lazy val feSpecularLighting: HtmlTag

This filter primitive lights a source graphic using the alpha channel as a bump map. The resulting image is an RGBA image based on the light color. The lighting calculation follows the standard specular component of the Phong lighting model. The resulting image depends on the light color, light position and surface geometry of the input bump map. The result of the lighting calculation is added. The filter primitive assumes that the viewer is at infinity in the z direction.

Inherited from scalive.defs.tags.SvgTags.feSpecularLighting. View source (Generated from Scala DOM Types 19.0.2)

feSpotlight

lazy val feSpotlight: HtmlTag

Defines the <feSpotlight> SVG tag.

Inherited from scalive.defs.tags.SvgTags.feSpotlight. View source (Generated from Scala DOM Types 19.0.2)

feTile

lazy val feTile: HtmlTag

An input image is tiled and the result used to fill a target. The effect is similar to the one of a pattern.

Inherited from scalive.defs.tags.SvgTags.feTile. View source (Generated from Scala DOM Types 19.0.2)

feTurbulence

lazy val feTurbulence: HtmlTag

This filter primitive creates an image using the Perlin turbulence function. It allows the synthesis of artificial textures like clouds or marble.

Inherited from scalive.defs.tags.SvgTags.feTurbulence. View source (Generated from Scala DOM Types 19.0.2)

fill

lazy val fill: HtmlAttr[String]

The fill attribute is a presentation attribute defining the color used to paint the element's interior. As a presentation attribute, it can also be used as a property directly inside a CSS stylesheet.

Value: <color> | <FuncIRI> | none | currentColor

fill @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.fill. View source (Generated from Scala DOM Types 19.0.2)

fillOpacity

lazy val fillOpacity: HtmlAttr[String]

The fill-opacity attribute is a presentation attribute defining the opacity of the paint server (color, gradient, pattern, etc.) applied to the fill of a shape. As a presentation attribute, it can also be used as a property directly inside a CSS stylesheet.

Value: [0-1] | <percentage>

fill-opacity @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.fillOpacity. View source (Generated from Scala DOM Types 19.0.2)

fillRule

lazy val fillRule: HtmlAttr[String]

The fill-rule attribute is a presentation attribute defining the algorithm to use to determine the inside part of a shape. It's used by the fill operation to determine which areas of a shape are filled when the shape overlaps itself.

Value: nonzero | evenodd | inherit

fill-rule @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.fillRule. View source (Generated from Scala DOM Types 19.0.2)

filter

lazy val filter: HtmlTag

The filter element serves as container for atomic filter operations. It is never rendered directly. A filter is referenced by using the filter attribute on the target SVG element.

Inherited from scalive.defs.tags.SvgTags.filter. View source (Generated from Scala DOM Types 19.0.2)

filterAttr

lazy val filterAttr: HtmlAttr[String]

The filter attribute defines the filter effects to apply to the element. It contains a reference to a <filter> element which defines the filter to use. As a presentation attribute, it can also be used as a property directly inside a CSS stylesheet.

Value: none | <FuncIRI>

filter @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.filterAttr. View source (Generated from Scala DOM Types 19.0.2)

filterRes

lazy val filterRes: HtmlAttr[String]

The filterRes attribute indicates the width and height of the intermediate images in pixels for a filter primitive. It takes the form of two numbers separated by whitespace. Note: This attribute is deprecated and may be removed in future SVG versions.

Value: <number-optional-number>

filterRes @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.filterRes. View source (Generated from Scala DOM Types 19.0.2)

filterUnits

lazy val filterUnits: HtmlAttr[String]

The filterUnits attribute defines the coordinate system for the attributes x, y, width and height. If not specified, the effect is as if a value of objectBoundingBox were specified.

Value: userSpaceOnUse | objectBoundingBox

filterUnits @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.filterUnits. View source (Generated from Scala DOM Types 19.0.2)

floodColor

lazy val floodColor: HtmlAttr[String]

The flood-color attribute indicates what color to use to flood the current filter primitive. The keyword currentColor and ICC colors can be specified in the same manner as within a <paint> specification for the fill and stroke attributes.

Value: currentColor | <color> | <icccolor>

flood-color @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.floodColor. View source (Generated from Scala DOM Types 19.0.2)

floodOpacity

lazy val floodOpacity: HtmlAttr[String]

The flood-opacity attribute indicates the opacity value to use across the current filter primitive subregion. If a value is outside the range 0.0 to 1.0, it is clamped to the nearest valid value.

Value: <alpha-value>

flood-opacity @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.floodOpacity. View source (Generated from Scala DOM Types 19.0.2)

font

lazy val font: HtmlTag

The font element defines a font to be used for text layout.

font @ MDN

Inherited from scalive.defs.tags.SvgTags.font. View source (Generated from Scala DOM Types 19.0.2)

fontFace

lazy val fontFace: HtmlTag

The font-face element corresponds to the CSS @font-face declaration. It defines a font's outer properties.

font-face @ MDN

Inherited from scalive.defs.tags.SvgTags.fontFace. View source (Generated from Scala DOM Types 19.0.2)

fontFaceFormat

lazy val fontFaceFormat: HtmlTag

The font-face-format element describes the type of font referenced by its parent font-face-uri.

font-face-format @ MDN

Inherited from scalive.defs.tags.SvgTags.fontFaceFormat. View source (Generated from Scala DOM Types 19.0.2)

fontFaceName

lazy val fontFaceName: HtmlTag

The font-face-name element points to a locally installed copy of this font, identified by its name.

font-face-name @ MDN

Inherited from scalive.defs.tags.SvgTags.fontFaceName. View source (Generated from Scala DOM Types 19.0.2)

fontFaceSrc

lazy val fontFaceSrc: HtmlTag

The font-face-src element corresponds to the src property in CSS @font-face descriptions. It serves as container for font-face-name, pointing to locally installed copies of this font, and font-face-uri, utilizing remotely defined fonts.

font-face-src @ MDN

Inherited from scalive.defs.tags.SvgTags.fontFaceSrc. View source (Generated from Scala DOM Types 19.0.2)

fontFaceUri

lazy val fontFaceUri: HtmlTag

The font-face-uri element points to a remote definition of the current font.

font-face-uri @ MDN

Inherited from scalive.defs.tags.SvgTags.fontFaceUri. View source (Generated from Scala DOM Types 19.0.2)

fontFamily

lazy val fontFamily: HtmlAttr[String]

The font-family attribute indicates which font family will be used to render the text. It works identically to the CSS font-family property. As a presentation attribute, it can also be used as a property directly inside a CSS stylesheet.

Value: [[<family-name> | <generic-family>],]* [<family-name> | <generic-family>]

font-family @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.fontFamily. View source (Generated from Scala DOM Types 19.0.2)

fontSize

lazy val fontSize: HtmlAttr[String]

The font-size attribute refers to the size of the font from baseline to baseline when multiple lines of text are set solid in a multiline layout environment. As a presentation attribute, it can also be used as a property directly inside a CSS stylesheet.

Value: <absolute-size> | <relative-size> | <length> | <percentage>

font-size @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.fontSize. View source (Generated from Scala DOM Types 19.0.2)

fontSizeAdjust

lazy val fontSizeAdjust: HtmlAttr[String]

The font-size-adjust attribute allows authors to specify an aspect value for an element that will preserve the x-height of the first choice font in a substitute font. As a presentation attribute, it can also be used as a property directly inside a CSS stylesheet.

Value: none | <number>

font-size-adjust @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.fontSizeAdjust. View source (Generated from Scala DOM Types 19.0.2)

fontStretch

lazy val fontStretch: HtmlAttr[String]

The font-stretch attribute indicates the desired amount of condensing or expansion in the glyphs used to render the text. As a presentation attribute, it can also be used as a property directly inside a CSS stylesheet.

Value: normal | wider | narrower | ultra-condensed | extra-condensed | condensed | semi-condensed | semi-expanded | expanded | extra-expanded | ultra-expanded | inherit

font-stretch @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.fontStretch. View source (Generated from Scala DOM Types 19.0.2)

fontVariant

lazy val fontVariant: HtmlAttr[String]

The font-variant attribute indicates whether the text is to be rendered using variations of the font's glyphs, such as small caps or ligatures. As a presentation attribute, it can also be used as a property directly inside a CSS stylesheet.

Value: normal | small-caps | inherit

font-variant @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.fontVariant. View source (Generated from Scala DOM Types 19.0.2)

fontWeight

lazy val fontWeight: HtmlAttr[String]

The font-weight attribute refers to the boldness or lightness of the glyphs used to render the text. As a presentation attribute, it can also be used as a property directly inside a CSS stylesheet.

Value: normal | bold | bolder | lighter | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900

font-weight @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.fontWeight. View source (Generated from Scala DOM Types 19.0.2)

foreignObject

lazy val foreignObject: HtmlTag

The foreignObject element allows for inclusion of a foreign XML namespace which has its graphical content drawn by a different user agent. The included foreign graphical content is subject to SVG transformations and compositing.

foreignObject @ MDN

Inherited from scalive.defs.tags.SvgTags.foreignObject. View source (Generated from Scala DOM Types 19.0.2)

from

lazy val from: HtmlAttr[String]

The from attribute indicates the initial value of the attribute that will be modified during the animation. When used with the to attribute, the animation will change the modified attribute from the from value to the to value.

Value: <value>

from @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.from. View source (Generated from Scala DOM Types 19.0.2)

g

lazy val g: HtmlTag

The g element is a container used to group objects. Transformations applied to the g element are performed on all of its child elements. Attributes applied are inherited by child elements. In addition, it can be used to define complex objects that can later be referenced with the use element.

Inherited from scalive.defs.tags.SvgTags.g. View source (Generated from Scala DOM Types 19.0.2)

glyph

lazy val glyph: HtmlTag

A glyph defines a single glyph in an SVG font.

glyph @ MDN

Inherited from scalive.defs.tags.SvgTags.glyph. View source (Generated from Scala DOM Types 19.0.2)

glyphRef

lazy val glyphRef: HtmlTag

The glyphRef element provides a single possible glyph to the referencing altGlyph substitution.

glyphRef @ MDN

Inherited from scalive.defs.tags.SvgTags.glyphRef. View source (Generated from Scala DOM Types 19.0.2)

gradientTransform

lazy val gradientTransform: HtmlAttr[String]

The gradientTransform attribute contains the definition of an optional additional transformation from the gradient coordinate system onto the target coordinate system. This allows for things such as skewing the gradient or rotating it.

Value: <transform-list>

gradientTransform @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.gradientTransform. View source (Generated from Scala DOM Types 19.0.2)

gradientUnits

lazy val gradientUnits: HtmlAttr[String]

The gradientUnits attribute defines the coordinate system used for attributes specified on the gradient elements. If not specified, the effect is as if a value of objectBoundingBox were specified.

Value: userSpaceOnUse | objectBoundingBox

gradientUnits @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.gradientUnits. View source (Generated from Scala DOM Types 19.0.2)

height

lazy val height: HtmlAttr[String]

The height attribute defines the vertical length of an element in the user coordinate system. For SVG elements, it determines the height of the viewport or viewBox.

Value: <length> | <percentage> | auto

height @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.height. View source (Generated from Scala DOM Types 19.0.2)

hkern

lazy val hkern: HtmlTag

The horizontal distance between two glyphs can be fine-tweaked with an hkern Element. This process is known as Kerning.

hkern @ MDN

Inherited from scalive.defs.tags.SvgTags.hkern. View source (Generated from Scala DOM Types 19.0.2)

href

lazy val href: HtmlAttr[String]

The href attribute defines a link to a resource as a reference URL. The exact meaning of that link depends on the context of each element using it. Note: SVG 2 removed the xlink:href attribute in favor of simply href.

Value: <URL>

href @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.href. View source (Generated from Scala DOM Types 19.0.2)

image

lazy val image: HtmlTag

The SVG Image Element (image) allows a raster image into be included in an SVG document.

Inherited from scalive.defs.tags.SvgTags.image. View source (Generated from Scala DOM Types 19.0.2)

imageRendering

lazy val imageRendering: HtmlAttr[String]

The imageRendering attribute provides a hint to the browser about how to make speed vs. quality tradeoffs as it performs image processing. As a presentation attribute, it can also be used as a property directly inside a CSS stylesheet.

Value: auto | optimizeSpeed | optimizeQuality

imageRendering @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.imageRendering. View source (Generated from Scala DOM Types 19.0.2)

in

lazy val in: HtmlAttr[String]

The in attribute identifies input for the given filter primitive. The value can be either a reference to a result from a previous filter primitive, or one of the standard filter input keywords.

Value: SourceGraphic | SourceAlpha | BackgroundImage | BackgroundAlpha | FillPaint | StrokePaint | <filter-primitive-reference>

in @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.in. View source (Generated from Scala DOM Types 19.0.2)

in2

lazy val in2: HtmlAttr[String]

The in2 attribute identifies the second input for the given filter primitive. It works exactly like the in attribute. This attribute is only valid for the feBlend, feComposite, feDisplacementMap, and feMorphology filter primitives.

Value: SourceGraphic | SourceAlpha | BackgroundImage | BackgroundAlpha | FillPaint | StrokePaint | <filter-primitive-reference>

in2 @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.in2. View source (Generated from Scala DOM Types 19.0.2)

k1

lazy val k1: HtmlAttr[Double]

The k1 attribute defines one of the values to be used within the arithmetic operation of the <feComposite> filter primitive. If this attribute is not set, the effect is as if a value of 0 were used.

Value: <number>

k1 @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.k1. View source (Generated from Scala DOM Types 19.0.2)

k2

lazy val k2: HtmlAttr[Double]

The k2 attribute defines one of the values to be used within the arithmetic operation of the <feComposite> filter primitive. If this attribute is not set, the effect is as if a value of 0 were used.

Value: <number>

k2 @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.k2. View source (Generated from Scala DOM Types 19.0.2)

k3

lazy val k3: HtmlAttr[Double]

The k3 attribute defines one of the values to be used within the arithmetic operation of the <feComposite> filter primitive. If this attribute is not set, the effect is as if a value of 0 were used.

Value: <number>

k3 @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.k3. View source (Generated from Scala DOM Types 19.0.2)

k4

lazy val k4: HtmlAttr[Double]

The k4 attribute defines one of the values to be used within the arithmetic operation of the <feComposite> filter primitive. If this attribute is not set, the effect is as if a value of 0 were used.

Value: <number>

k4 @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.k4. View source (Generated from Scala DOM Types 19.0.2)

kernelMatrix

lazy val kernelMatrix: HtmlAttr[String]

The kernelMatrix attribute defines the list of numbers that make up the kernel matrix for the <feConvolveMatrix> element. The number of entries in the list must equal to orderX times orderY.

Value: <list-of-numbers>

kernelMatrix @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.kernelMatrix. View source (Generated from Scala DOM Types 19.0.2)

kernelUnitLength

lazy val kernelUnitLength: HtmlAttr[String]

The kernelUnitLength attribute has two meanings based on the context it's used in. For lighting filter primitives, it represents the x and y coordinates for the distance from the source to the surface. For feConvolveMatrix, it defines the intended distance in current filter units between successive columns and rows in the kernelMatrix.

Value: <number-optional-number>

kernelUnitLength @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.kernelUnitLength. View source (Generated from Scala DOM Types 19.0.2)

kerning

lazy val kerning: HtmlAttr[String]

The kerning attribute indicates whether the browser should adjust inter-glyph spacing based on kerning tables in the font or not. Note: This attribute is deprecated and may be removed in future SVG versions.

Value: auto | <length>

kerning @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.kerning. View source (Generated from Scala DOM Types 19.0.2)

keySplines

lazy val keySplines: HtmlAttr[String]

The keySplines attribute defines a set of Bézier control points associated with the keyTimes list, defining a cubic Bézier function that controls interval pacing. This attribute is ignored unless the calcMode attribute is set to spline.

Value: <list-of-control-points>

keySplines @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.keySplines. View source (Generated from Scala DOM Types 19.0.2)

keyTimes

lazy val keyTimes: HtmlAttr[String]

The keyTimes attribute represents a list of time values used to control the pacing of the animation. Each time in the list corresponds to a value in the values attribute list, and defines when the value is used in the animation.

Value: <list-of-times>

keyTimes @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.keyTimes. View source (Generated from Scala DOM Types 19.0.2)

letterSpacing

lazy val letterSpacing: HtmlAttr[String]

The letter-spacing attribute controls spacing between text characters, in addition to any spacing from the kerning attribute. As a presentation attribute, it can also be used as a property directly inside a CSS stylesheet.

Value: normal | <length>

letter-spacing @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.letterSpacing. View source (Generated from Scala DOM Types 19.0.2)

lightingColor

lazy val lightingColor: HtmlAttr[String]

The lighting-color attribute defines the color of the light source for filter primitives <feDiffuseLighting> and <feSpecularLighting>. As a presentation attribute, it can also be used as a property directly inside a CSS stylesheet.

Value: currentColor | <color> | <icccolor>

lighting-color @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.lightingColor. View source (Generated from Scala DOM Types 19.0.2)

limitingConeAngle

lazy val limitingConeAngle: HtmlAttr[String]

The limitingConeAngle attribute represents the angle in degrees between the spot light axis (i.e., the axis between the light source and the point to which it is pointing at) and the spot light cone. If no value is specified, then the effect is as if a value of 90 were specified.

Value: <angle>

limitingConeAngle @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.limitingConeAngle. View source (Generated from Scala DOM Types 19.0.2)

line

lazy val line: HtmlTag

The line element is an SVG basic shape, used to create a line connecting two points.

Inherited from scalive.defs.tags.SvgTags.line. View source (Generated from Scala DOM Types 19.0.2)

linearGradient

lazy val linearGradient: HtmlTag

linearGradient lets authors define linear gradients to fill or stroke graphical elements.

Inherited from scalive.defs.tags.SvgTags.linearGradient. View source (Generated from Scala DOM Types 19.0.2)

local

lazy val local: HtmlAttr[String]

The local attribute defines one side of a coordinate transformation to be applied to an element. It's used along with the 'from' attribute, which defines the other side of the transformation.

Value: <string>

local @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.local. View source (Generated from Scala DOM Types 19.0.2)

marker

lazy val marker: HtmlTag

The marker element defines the graphics that is to be used for drawing arrowheads or polymarkers on a given path, line, polyline or polygon element.

Inherited from scalive.defs.tags.SvgTags.marker. View source (Generated from Scala DOM Types 19.0.2)

markerEnd

lazy val markerEnd: HtmlAttr[String]

The marker-end attribute defines the arrowhead or polymarker that will be drawn at the final vertex of the given shape. As a presentation attribute, it can also be used as a property directly inside a CSS stylesheet.

Value: none | <FuncIRI>

marker-end @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.markerEnd. View source (Generated from Scala DOM Types 19.0.2)

markerHeight

lazy val markerHeight: HtmlAttr[String]

The markerHeight attribute represents the height of the viewport into which the marker is to be fitted when it is rendered according to the viewBox and preserveAspectRatio attributes.

Value: <length>

markerHeight @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.markerHeight. View source (Generated from Scala DOM Types 19.0.2)

markerMid

lazy val markerMid: HtmlAttr[String]

The marker-mid attribute defines the arrowhead or polymarker that will be drawn at every vertex other than the first and last vertex of the given shape. As a presentation attribute, it can also be used as a property directly inside a CSS stylesheet.

Value: none | <FuncIRI>

marker-mid @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.markerMid. View source (Generated from Scala DOM Types 19.0.2)

markerStart

lazy val markerStart: HtmlAttr[String]

The marker-start attribute defines the arrowhead or polymarker that will be drawn at the first vertex of the given shape. As a presentation attribute, it can also be used as a property directly inside a CSS stylesheet.

Value: none | <FuncIRI>

marker-start @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.markerStart. View source (Generated from Scala DOM Types 19.0.2)

markerUnits

lazy val markerUnits: HtmlAttr[String]

The markerUnits attribute defines the coordinate system for the markerWidth and markerHeight attributes and the contents of the <marker>. If not specified, the effect is as if a value of strokeWidth were specified.

Value: userSpaceOnUse | strokeWidth

markerUnits @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.markerUnits. View source (Generated from Scala DOM Types 19.0.2)

markerWidth

lazy val markerWidth: HtmlAttr[String]

The markerWidth attribute represents the width of the viewport into which the marker is to be fitted when it is rendered according to the viewBox and preserveAspectRatio attributes.

Value: <length>

markerWidth @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.markerWidth. View source (Generated from Scala DOM Types 19.0.2)

mask

lazy val mask: HtmlTag

In SVG, you can specify that any other graphics object or g element can be used as an alpha mask for compositing the current object into the background. A mask is defined with the mask element. A mask is used/referenced using the mask property.

Inherited from scalive.defs.tags.SvgTags.mask. View source (Generated from Scala DOM Types 19.0.2)

maskAttr

lazy val maskAttr: HtmlAttr[String]

The mask attribute is a presentation attribute mainly used to bind a given <mask> element with the element the attribute belongs to. As a presentation attribute, it can also be used as a property directly inside a CSS stylesheet.

Value: none | <FuncIRI>

mask @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.maskAttr. View source (Generated from Scala DOM Types 19.0.2)

maskContentUnits

lazy val maskContentUnits: HtmlAttr[String]

The maskContentUnits attribute indicates which coordinate system to use for the contents of the <mask> element. If not specified, the effect is as if a value of userSpaceOnUse were specified.

Value: userSpaceOnUse | objectBoundingBox

maskContentUnits @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.maskContentUnits. View source (Generated from Scala DOM Types 19.0.2)

maskUnits

lazy val maskUnits: HtmlAttr[String]

The maskUnits attribute indicates which coordinate system to use for the attributes x, y, width and height on the <mask> element. If not specified, the effect is as if a value of objectBoundingBox were specified.

Value: userSpaceOnUse | objectBoundingBox

maskUnits @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.maskUnits. View source (Generated from Scala DOM Types 19.0.2)

maxAttr

lazy val maxAttr: HtmlAttr[String]

The max attribute defines the maximum value of the range input. It must be greater than or equal to the value of the min attribute. If the value is less than the minimum value, the minimum value is used instead.

Value: <number>

max @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.maxAttr. View source (Generated from Scala DOM Types 19.0.2)

metadata

lazy val metadata: HtmlTag

Metadata is structured data about data. Metadata which is included with SVG content should be specified within metadata elements. The contents of the metadata should be elements from other XML namespaces such as RDF, FOAF, etc.

Inherited from scalive.defs.tags.SvgTags.metadata. View source (Generated from Scala DOM Types 19.0.2)

minAttr

lazy val minAttr: HtmlAttr[String]

The min attribute defines the minimum value of the range input. It must be less than or equal to the value of the max attribute. If the value is greater than the maximum value, the maximum value is used instead.

Value: <number>

min @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.minAttr. View source (Generated from Scala DOM Types 19.0.2)

missingGlyph

lazy val missingGlyph: HtmlTag

The missing-glyph's content is rendered, if for a given character the font doesn't define an appropriate glyph.

missing-glyph @ MDN

Inherited from scalive.defs.tags.SvgTags.missingGlyph. View source (Generated from Scala DOM Types 19.0.2)

mode

lazy val mode: HtmlAttr[String]

The mode attribute defines the blending mode on the <feBlend> filter primitive.

Value: normal | multiply | screen | darken | lighten

mode @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.mode. View source (Generated from Scala DOM Types 19.0.2)

mpath

lazy val mpath: HtmlTag

the mpath sub-element for the animateMotion element provides the ability to reference an external path element as the definition of a motion path.

mpath @ MDN

Inherited from scalive.defs.tags.SvgTags.mpath. View source (Generated from Scala DOM Types 19.0.2)

numOctaves

lazy val numOctaves: HtmlAttr[Int]

The numOctaves attribute defines the number of octaves for the noise function of the <feTurbulence> primitive. If not specified, the effect is as if a value of 1 were specified.

Value: <integer>

numOctaves @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.numOctaves. View source (Generated from Scala DOM Types 19.0.2)

offsetAttr

lazy val offsetAttr: HtmlAttr[String]

The offset attribute either defines the distance of an <stop> element from the start of the gradient, or defines the displacement value for a <feOffset> element. For <stop> elements, it's a percentage or a number between 0 and 1. For <feOffset>, it represents the displacement in the x or y direction.

Value: <number> | <percentage>

offset @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.offsetAttr. View source (Generated from Scala DOM Types 19.0.2)

opacity

lazy val opacity: HtmlAttr[String]

The opacity attribute specifies the transparency of an object or of a group of objects. It's a multiplier on the alpha channel and can take a value between 0 and 1 (or a percentage). As a presentation attribute, it can also be used as a property directly inside a CSS stylesheet.

Value: [0-1] | <percentage>

opacity @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.opacity. View source (Generated from Scala DOM Types 19.0.2)

operator

lazy val operator: HtmlAttr[String]

The operator attribute has different meanings based on the context where it's used. For feComposite, it defines the compositing operation to be performed. For feMorphology, it defines whether to erode or dilate the source graphic.

Value: over | in | out | atop | xor | arithmetic (for feComposite) Value: erode | dilate (for feMorphology)

operator @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.operator. View source (Generated from Scala DOM Types 19.0.2)

order

lazy val order: HtmlAttr[String]

The order attribute indicates the size of the matrix to be used by the <feConvolveMatrix> element. It contains two numbers separated by whitespace which define the number of columns and rows in the matrix.

Value: <number-pair>

order @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.order. View source (Generated from Scala DOM Types 19.0.2)

orient

lazy val orient: HtmlAttr[String]

This attribute defines the orientation of the marker relative to the shape it is attached to.

Value type: auto|auto-start-reverse|<angle> ; Default value: 0; Animatable: yes

orient @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.orient. View source (Generated from Scala DOM Types 19.0.2)

overflow

lazy val overflow: HtmlAttr[String]

The overflow attribute sets what to do when an element's content is too big to fit in its block formatting context. This attribute has the same parameter values as the CSS overflow property. As a presentation attribute, it can also be used as a property directly inside a CSS stylesheet.

Value: visible | hidden | scroll | auto

overflow @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.overflow. View source (Generated from Scala DOM Types 19.0.2)

paintOrder

lazy val paintOrder: HtmlAttr[String]

The paint-order attribute specifies the order in which the fill, stroke, and markers of a given shape or text element are painted. By default, the order is: fill, stroke, markers. As a presentation attribute, it can also be used as a property directly inside a CSS stylesheet.

Value: normal | [ fill || stroke || markers ]

paint-order @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.paintOrder. View source (Generated from Scala DOM Types 19.0.2)

path

lazy val path: HtmlTag

The path element is the generic element to define a shape. All the basic shapes can be created with a path element.

Inherited from scalive.defs.tags.SvgTags.path. View source (Generated from Scala DOM Types 19.0.2)

pathLength

lazy val pathLength: HtmlAttr[String]

The pathLength attribute lets authors specify a total length for the path, in user units. This value is used to calibrate the browser's distance calculations with those of the author, particularly useful for text on a path or motion animations.

Value: <number>

pathLength @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.pathLength. View source (Generated from Scala DOM Types 19.0.2)

pattern

lazy val pattern: HtmlTag

A pattern is used to fill or stroke an object using a pre-defined graphic object which can be replicated ("tiled") at fixed intervals in x and y to cover the areas to be painted. Patterns are defined using the pattern element and then referenced by properties fill and stroke on a given graphics element to indicate that the given element shall be filled or stroked with the referenced pattern.

Inherited from scalive.defs.tags.SvgTags.pattern. View source (Generated from Scala DOM Types 19.0.2)

patternContentUnits

lazy val patternContentUnits: HtmlAttr[String]

The patternContentUnits attribute defines the coordinate system for the contents of the <pattern>. If not specified, the effect is as if a value of userSpaceOnUse were specified.

Value: userSpaceOnUse | objectBoundingBox

patternContentUnits @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.patternContentUnits. View source (Generated from Scala DOM Types 19.0.2)

patternTransform

lazy val patternTransform: HtmlAttr[String]

The patternTransform attribute contains the definition of an optional additional transformation from the pattern coordinate system onto the target coordinate system. This allows for effects like rotating or skewing the pattern tiles.

Value: <transform-list>

patternTransform @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.patternTransform. View source (Generated from Scala DOM Types 19.0.2)

patternUnits

lazy val patternUnits: HtmlAttr[String]

The patternUnits attribute defines the coordinate system for attributes x, y, width, and height. If not specified, the effect is as if a value of objectBoundingBox were specified.

Value: userSpaceOnUse | objectBoundingBox

patternUnits @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.patternUnits. View source (Generated from Scala DOM Types 19.0.2)

pointerEvents

lazy val pointerEvents: HtmlAttr[String]

The pointer-events attribute defines whether or when an element may be the target of a mouse event. As a presentation attribute, it can also be used as a property directly inside a CSS stylesheet.

Value: bounding-box | visiblePainted | visibleFill | visibleStroke | visible | painted | fill | stroke | all | none

pointer-events @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.pointerEvents. View source (Generated from Scala DOM Types 19.0.2)

points

lazy val points: HtmlAttr[String]

The points attribute defines a list of points required to draw a <polyline> or <polygon> element. Each point is defined by a pair of X and Y coordinates in the user coordinate system.

Value: <list-of-points>

points @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.points. View source (Generated from Scala DOM Types 19.0.2)

pointsAtX

lazy val pointsAtX: HtmlAttr[String]

The pointsAtX attribute represents the X location in the coordinate system established by the primitiveUnits attribute on the <filter> element of the point at which the light source is pointing.

Value: <number>

pointsAtX @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.pointsAtX. View source (Generated from Scala DOM Types 19.0.2)

pointsAtY

lazy val pointsAtY: HtmlAttr[String]

The pointsAtY attribute represents the Y location in the coordinate system established by the primitiveUnits attribute on the <filter> element of the point at which the light source is pointing.

Value: <number>

pointsAtY @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.pointsAtY. View source (Generated from Scala DOM Types 19.0.2)

pointsAtZ

lazy val pointsAtZ: HtmlAttr[String]

The pointsAtZ attribute represents the Z location in the coordinate system established by the primitiveUnits attribute on the <filter> element of the point at which the light source is pointing.

Value: <number>

pointsAtZ @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.pointsAtZ. View source (Generated from Scala DOM Types 19.0.2)

polygon

lazy val polygon: HtmlTag

The polygon element defines a closed shape consisting of a set of connected straight line segments.

Inherited from scalive.defs.tags.SvgTags.polygon. View source (Generated from Scala DOM Types 19.0.2)

polyline

lazy val polyline: HtmlTag

The polyline element is an SVG basic shape, used to create a series of straight lines connecting several points. Typically a polyline is used to create open shapes

Inherited from scalive.defs.tags.SvgTags.polyline. View source (Generated from Scala DOM Types 19.0.2)

preserveAlpha

lazy val preserveAlpha: HtmlAttr[String]

The preserveAlpha attribute indicates how a <feConvolveMatrix> element handles alpha transparency. If set to false, the convolution matrix is applied to the alpha channel in the same way as the RGB color channels. If set to true, the alpha channel is kept unchanged.

Value: true | false

preserveAlpha @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.preserveAlpha. View source (Generated from Scala DOM Types 19.0.2)

preserveAspectRatio

lazy val preserveAspectRatio: HtmlAttr[String]

The preserveAspectRatio attribute indicates how an element with a viewBox providing a given aspect ratio should fit into a viewport with a different aspect ratio. It consists of an optional alignment parameter and an optional 'meet or slice' reference.

Value: [none | xMinYMin | xMidYMin | xMaxYMin | xMinYMid | xMidYMid | xMaxYMid | xMinYMax | xMidYMax | xMaxYMax] [meet | slice]

preserveAspectRatio @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.preserveAspectRatio. View source (Generated from Scala DOM Types 19.0.2)

primitiveUnits

lazy val primitiveUnits: HtmlAttr[String]

The primitiveUnits attribute defines the coordinate system for the various length values within the filter primitives and for the attributes that define the filter primitive subregion. If not specified, the effect is as if a value of userSpaceOnUse were specified.

Value: userSpaceOnUse | objectBoundingBox

primitiveUnits @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.primitiveUnits. View source (Generated from Scala DOM Types 19.0.2)

r

lazy val r: HtmlAttr[String]

The r attribute defines the radius of a circle. If the attribute is not specified, the effect is as if a value of 0 were specified.

Value: <length> | <percentage>

r @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.r. View source (Generated from Scala DOM Types 19.0.2)

radialGradient

lazy val radialGradient: HtmlTag

radialGradient lets authors define radial gradients to fill or stroke graphical elements.

Inherited from scalive.defs.tags.SvgTags.radialGradient. View source (Generated from Scala DOM Types 19.0.2)

radius

lazy val radius: HtmlAttr[String]

The radius attribute represents the radius (or radii) for the operation on a given <feMorphology> filter primitive. If two numbers are provided, the first represents the x-radius and the second the y-radius. If one number is provided, then that value is used for both x and y.

Value: <number-optional-number>

radius @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.radius. View source (Generated from Scala DOM Types 19.0.2)

rect

lazy val rect: HtmlTag

The rect element is an SVG basic shape, used to create rectangles based on the position of a corner and their width and height. It may also be used to create rectangles with rounded corners.

Inherited from scalive.defs.tags.SvgTags.rect. View source (Generated from Scala DOM Types 19.0.2)

refX

lazy val refX: HtmlAttr[String]

The refX attribute is used alongside the refY attribute to provide coordinates for the location on the marker where it will be joined to its markable element. Coordinates are relative to the marker's coordinate system (after application of the ‘viewBox’ and ‘preserveAspectRatio’ attributes), and not the markable element it is placed on.

refX @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.refX. View source (Generated from Scala DOM Types 19.0.2)

refY

lazy val refY: HtmlAttr[String]

The refY attribute is used alongside the refY attribute to provide coordinates for the location on the marker where it will be joined to its markable element. Coordinates are relative to the marker's coordinate system (after application of the ‘viewBox’ and ‘preserveAspectRatio’ attributes), and not the markable element it is placed on.

refY @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.refY. View source (Generated from Scala DOM Types 19.0.2)

repeatCount

lazy val repeatCount: HtmlAttr[String]

The repeatCount attribute indicates the number of times an animation will repeat. It can be a simple count or the keyword 'indefinite', which specifies that the animation will repeat indefinitely.

Value: <number> | indefinite

repeatCount @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.repeatCount. View source (Generated from Scala DOM Types 19.0.2)

repeatDur

lazy val repeatDur: HtmlAttr[String]

The repeatDur attribute specifies the total duration for repeating an animation. It can be a time value or the keyword 'indefinite', which specifies that the animation will repeat indefinitely.

Value: <clock-value> | indefinite

repeatDur @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.repeatDur. View source (Generated from Scala DOM Types 19.0.2)

requiredFeatures

lazy val requiredFeatures: HtmlAttr[String]

The requiredFeatures attribute takes a list of feature strings, with the element only being rendered if all features are supported by the browser. Note: This attribute is deprecated and may be removed in future SVG versions.

Value: <list-of-features>

requiredFeatures @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.requiredFeatures. View source (Generated from Scala DOM Types 19.0.2)

restart

lazy val restart: HtmlAttr[String]

The restart attribute specifies whether or not an animation can restart. It can be set to always, never, or whenNotActive, with always being the default.

Value: always | never | whenNotActive

restart @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.restart. View source (Generated from Scala DOM Types 19.0.2)

resultAttr

lazy val resultAttr: HtmlAttr[String]

The result attribute defines the assigned name for this filter primitive. If supplied, then graphics that result from processing this filter primitive can be referenced by an in attribute on a subsequent filter primitive within the same <filter> element.

Value: <filter-primitive-reference>

result @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.resultAttr. View source (Generated from Scala DOM Types 19.0.2)

rx

lazy val rx: HtmlAttr[String]

The rx attribute defines the x-radius of a rounded corner for the element. For <rect> elements, this is used for rounded corners. For <ellipse> elements, this defines the x-radius of the ellipse. If the attribute is not specified, the effect is as if a value of 0 were specified.

Value: <length> | <percentage> | auto

rx @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.rx. View source (Generated from Scala DOM Types 19.0.2)

ry

lazy val ry: HtmlAttr[String]

The ry attribute defines the y-radius of a rounded corner for the element. For <rect> elements, this is used for rounded corners. For <ellipse> elements, this defines the y-radius of the ellipse. If the attribute is not specified, the effect is as if a value of 0 were specified.

Value: <length> | <percentage> | auto

ry @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.ry. View source (Generated from Scala DOM Types 19.0.2)

scale

lazy val scale: HtmlAttr[String]

The scale attribute defines the displacement scale factor to be used on a <feDisplacementMap> filter primitive. The amount is expressed in the coordinate system established by the primitiveUnits attribute on the <filter> element.

Value: <number>

scale @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.scale. View source (Generated from Scala DOM Types 19.0.2)

seed

lazy val seed: HtmlAttr[Double]

The seed attribute represents the starting number for the pseudo random number generator of the <feTurbulence> primitive. If the attribute is not specified, the effect is as if a value of 0 were specified.

Value: <number>

seed @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.seed. View source (Generated from Scala DOM Types 19.0.2)

set

lazy val set: HtmlTag

The set element provides a simple means of just setting the value of an attribute for a specified duration. It supports all attribute types, including those that cannot reasonably be interpolated, such as string and boolean values. The set element is non-additive. The additive and accumulate attributes are not allowed, and will be ignored if specified.

set @ MDN

Inherited from scalive.defs.tags.SvgTags.set. View source (Generated from Scala DOM Types 19.0.2)

shapeRendering

lazy val shapeRendering: HtmlAttr[String]

The shape-rendering attribute provides hints to the renderer about what tradeoffs to make when rendering shapes like paths, circles, or rectangles. As a presentation attribute, it can also be used as a property directly inside a CSS stylesheet.

Value: auto | optimizeSpeed | crispEdges | geometricPrecision

shape-rendering @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.shapeRendering. View source (Generated from Scala DOM Types 19.0.2)

specularConstant

lazy val specularConstant: HtmlAttr[Double]

The specularConstant attribute controls the ratio of reflection of the specular lighting. It represents the ks value in the Phong lighting model. The bigger the value, the more light is reflected. If not specified, the effect is as if a value of 1 were specified.

Value: <number>

specularConstant @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.specularConstant. View source (Generated from Scala DOM Types 19.0.2)

specularExponent

lazy val specularExponent: HtmlAttr[Double]

The specularExponent attribute controls the focus for the light source. The larger the value, the more focused the light source becomes. It represents the shininess of the surface and corresponds to the n value in the Phong lighting model.

Value: <number>

specularExponent @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.specularExponent. View source (Generated from Scala DOM Types 19.0.2)

spreadMethod

lazy val spreadMethod: HtmlAttr[String]

The spreadMethod attribute determines how a gradient behaves if it starts or ends inside the bounds of the target rectangle but the gradient does not fill the entire rectangle. If not specified, the effect is as if a value of pad were specified.

Value: pad | reflect | repeat

spreadMethod @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.spreadMethod. View source (Generated from Scala DOM Types 19.0.2)

stdDeviation

lazy val stdDeviation: HtmlAttr[String]

The stdDeviation attribute defines the standard deviation for the blur operation in a Gaussian blur filter. If two <number>s are provided, the first number represents the standard deviation along the x-axis. The second value represents the standard deviation along the y-axis.

Value: <number-optional-number>

stdDeviation @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.stdDeviation. View source (Generated from Scala DOM Types 19.0.2)

stitchTiles

lazy val stitchTiles: HtmlAttr[String]

The stitchTiles attribute defines how the Perlin Noise tiles behave at the border. If not specified, the effect is as if a value of noStitch were specified.

Value: stitch | noStitch

stitchTiles @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.stitchTiles. View source (Generated from Scala DOM Types 19.0.2)

stop

lazy val stop: HtmlTag

The ramp of colors to use on a gradient is defined by the stop elements that are child elements to either the lineargradient element or the radialGradient element.

Inherited from scalive.defs.tags.SvgTags.stop. View source (Generated from Scala DOM Types 19.0.2)

stopColor

lazy val stopColor: HtmlAttr[String]

The stop-color attribute indicates what color to use at a gradient stop. As a presentation attribute, it can also be used as a property directly inside a CSS stylesheet.

Value: currentColor | <color> | <icccolor>

stop-color @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.stopColor. View source (Generated from Scala DOM Types 19.0.2)

stopOpacity

lazy val stopOpacity: HtmlAttr[String]

The stop-opacity attribute defines the opacity of a given color gradient stop. As a presentation attribute, it can also be used as a property directly inside a CSS stylesheet.

Value: <opacity-value>

stop-opacity @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.stopOpacity. View source (Generated from Scala DOM Types 19.0.2)

stroke

lazy val stroke: HtmlAttr[String]

The stroke attribute defines the color of the outline on a given graphical element. As a presentation attribute, it can also be used as a property directly inside a CSS stylesheet.

Value: <paint>

stroke @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.stroke. View source (Generated from Scala DOM Types 19.0.2)

strokeDashArray

lazy val strokeDashArray: HtmlAttr[String]

The stroke-dasharray attribute defines the pattern of dashes and gaps used to paint the outline of the shape. It's a list of comma and/or white space separated <length>s and <percentage>s. As a presentation attribute, it can also be used as a property directly inside a CSS stylesheet.

Value: none | <dasharray>

stroke-dasharray @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.strokeDashArray. View source (Generated from Scala DOM Types 19.0.2)

strokeDashOffset

lazy val strokeDashOffset: HtmlAttr[String]

The stroke-dashoffset attribute specifies the distance into the dash pattern to start the dash. As a presentation attribute, it can also be used as a property directly inside a CSS stylesheet.

Value: <percentage> | <length>

stroke-dashoffset @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.strokeDashOffset. View source (Generated from Scala DOM Types 19.0.2)

strokeLineCap

lazy val strokeLineCap: HtmlAttr[String]

The stroke-linecap attribute specifies the shape to be used at the end of open subpaths when they are stroked. As a presentation attribute, it can also be used as a property directly inside a CSS stylesheet.

Value: butt | round | square

stroke-linecap @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.strokeLineCap. View source (Generated from Scala DOM Types 19.0.2)

strokeLineJoin

lazy val strokeLineJoin: HtmlAttr[String]

The stroke-linejoin attribute specifies the shape to be used at the corners of paths when they are stroked. As a presentation attribute, it can also be used as a property directly inside a CSS stylesheet.

Value: arcs | bevel | miter | miter-clip | round

stroke-linejoin @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.strokeLineJoin. View source (Generated from Scala DOM Types 19.0.2)

strokeMiterLimit

lazy val strokeMiterLimit: HtmlAttr[String]

The stroke-miterlimit attribute specifies the limit on the ratio of the miter length to the stroke-width when two line segments meet at a sharp angle and miter joins have been specified. As a presentation attribute, it can also be used as a property directly inside a CSS stylesheet.

Value: <number>

stroke-miterlimit @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.strokeMiterLimit. View source (Generated from Scala DOM Types 19.0.2)

strokeOpacity

lazy val strokeOpacity: HtmlAttr[String]

The stroke-opacity attribute specifies the opacity of the outline on the current object. Its value ranges from 0 to 1 or as a percentage. As a presentation attribute, it can also be used as a property directly inside a CSS stylesheet.

Value: [0-1] | <percentage>

stroke-opacity @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.strokeOpacity. View source (Generated from Scala DOM Types 19.0.2)

strokeWidth

lazy val strokeWidth: HtmlAttr[String]

The stroke-width attribute specifies the width of the outline on the current object. As a presentation attribute, it can also be used as a property directly inside a CSS stylesheet.

Value: <length> | <percentage>

stroke-width @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.strokeWidth. View source (Generated from Scala DOM Types 19.0.2)

styleAttr

lazy val styleAttr: HtmlAttr[String]

The style attribute allows to style an element using CSS declarations. It functions identically to the style attribute in HTML.

Value: <style>

style @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.styleAttr. View source (Generated from Scala DOM Types 19.0.2)

surfaceScale

lazy val surfaceScale: HtmlAttr[String]

The surfaceScale attribute represents the height of the surface for a light filter primitive. If the attribute is not specified, then the effect is as if a value of 1 were specified.

Value: <number>

surfaceScale @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.surfaceScale. View source (Generated from Scala DOM Types 19.0.2)

svg

lazy val svg: HtmlTag

When it is not the root element, the svg element can be used to nest a standalone SVG fragment inside the current document (which can be an HTML document). This standalone fragment has its own viewPort and its own coordinate system.

Inherited from scalive.defs.tags.SvgTags.svg. View source (Generated from Scala DOM Types 19.0.2)

switch

lazy val switch: HtmlTag

The switch element evaluates the requiredFeatures, requiredExtensions and systemLanguage attributes on its direct child elements in order, and then processes and renders the first child for which these attributes evaluate to true. All others will be bypassed and therefore not rendered. If the child element is a container element such as a g, then the entire subtree is either processed/rendered or bypassed/not rendered.

Inherited from scalive.defs.tags.SvgTags.switch. View source (Generated from Scala DOM Types 19.0.2)

symbol

lazy val symbol: HtmlTag

The symbol element is used to define graphical template objects which can be instantiated by a use element. The use of symbol elements for graphics that are used multiple times in the same document adds structure and semantics. Documents that are rich in structure may be rendered graphically, as speech, or as braille, and thus promote accessibility. note that a symbol element itself is not rendered. Only instances of a symbol element (i.e., a reference to a symbol by a use element) are rendered.

Inherited from scalive.defs.tags.SvgTags.symbol. View source (Generated from Scala DOM Types 19.0.2)

target

lazy val target: HtmlAttr[String]

The target attribute specifies where to open the link referenced by the <a> element. It's similar to the target attribute in HTML.

Value: _self | _parent | _top | _blank | <name>

target @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.target. View source (Generated from Scala DOM Types 19.0.2)

targetX

lazy val targetX: HtmlAttr[String]

The targetX attribute determines the positioning in X of the convolution matrix relative to a given target pixel in the input image. The leftmost column of the matrix is column number zero. The value must be such that: 0 <= targetX < orderX.

Value: <integer>

targetX @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.targetX. View source (Generated from Scala DOM Types 19.0.2)

targetY

lazy val targetY: HtmlAttr[String]

The targetY attribute determines the positioning in Y of the convolution matrix relative to a given target pixel in the input image. The topmost row of the matrix is row number zero. The value must be such that: 0 <= targetY < orderY.

Value: <integer>

targetY @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.targetY. View source (Generated from Scala DOM Types 19.0.2)

text

lazy val text: HtmlTag

The text element defines a graphics element consisting of text. Note that it is possible to apply a gradient, pattern, clipping path, mask or filter to text.

Inherited from scalive.defs.tags.SvgTags.text. View source (Generated from Scala DOM Types 19.0.2)

textAnchor

lazy val textAnchor: HtmlAttr[String]

The text-anchor attribute is used to align (start-, middle- or end-alignment) a string of pre-formatted text or auto-wrapped text where the wrapping area is determined from the inline-size property relative to a given point.

Value: start | middle | end

text-anchor @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.textAnchor. View source (Generated from Scala DOM Types 19.0.2)

textDecoration

lazy val textDecoration: HtmlAttr[String]

The text-decoration attribute defines whether text is decorated with an underline, overline and/or strike-through. It is a shorthand for the text-decoration-line and text-decoration-style properties.

Value: none | [ underline || overline || line-through || blink ] | inherit

text-decoration @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.textDecoration. View source (Generated from Scala DOM Types 19.0.2)

textPath

lazy val textPath: HtmlTag

In addition to text drawn in a straight line, SVG also includes the ability to place text along the shape of a path element. To specify that a block of text is to be rendered along the shape of a path, include the given text within a textPath element which includes an xlink:href attribute with a reference to a path element.

Inherited from scalive.defs.tags.SvgTags.textPath. View source (Generated from Scala DOM Types 19.0.2)

textRendering

lazy val textRendering: HtmlAttr[String]

The text-rendering attribute provides hints to the renderer about what tradeoffs to make when rendering text. As a presentation attribute, it can also be used as a property directly inside a CSS stylesheet.

Value: auto | optimizeSpeed | optimizeLegibility | geometricPrecision

text-rendering @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.textRendering. View source (Generated from Scala DOM Types 19.0.2)

titleTag

lazy val titleTag: HtmlTag

Each container element or graphics element in an SVG drawing can supply a title description string where the description is text-only. When the current SVG document fragment is rendered as SVG on visual media, title elements are not rendered as part of the graphics. Alternate presentations are possible, both visual and aural, which display the title element but do not display path elements or other graphics elements. The title element generally improve accessibility of SVG documents.

Inherited from scalive.defs.tags.SvgTags.titleTag. View source (Generated from Scala DOM Types 19.0.2)

to

lazy val to: HtmlAttr[String]

The to attribute indicates the final value of the attribute that will be modified during the animation. The value of the attribute will change between the from attribute value and this value.

Value: <value>

to @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.to. View source (Generated from Scala DOM Types 19.0.2)

transform

lazy val transform: HtmlAttr[String]

The transform attribute defines a list of transform definitions that are applied to an element and the element's children. Transforms include rotate, scale, translate, skewX, skewY, and matrix.

Value: <transform-list>

transform @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.transform. View source (Generated from Scala DOM Types 19.0.2)

tref

lazy val tref: HtmlTag

The textual content for a text can be either character data directly embedded within the text element or the character data content of a referenced element, where the referencing is specified with a tref element.

tref @ MDN

Inherited from scalive.defs.tags.SvgTags.tref. View source (Generated from Scala DOM Types 19.0.2)

tspan

lazy val tspan: HtmlTag

Within a text element, text and font properties and the current text position can be adjusted with absolute or relative coordinate values by including a tspan element.

Inherited from scalive.defs.tags.SvgTags.tspan. View source (Generated from Scala DOM Types 19.0.2)

typ

lazy val typ: HtmlAttr[String]

Alias for the type member defining the type SVG attribute.

Inherited from scalive.defs.attrs.SvgAttrs.typ. View source (Generated from Scala DOM Types 19.0.2)

type

lazy val type: HtmlAttr[String]

The type attribute specifies the type of animation or filter. The meaning and allowed values depend on the element it's used on. For <animateTransform>, it defines the type of transformation. For <feColorMatrix>, it defines the type of matrix operation.

Value: varies by element

Aliases: typ

type @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.type. View source (Generated from Scala DOM Types 19.0.2)

use

lazy val use: HtmlTag

The use element takes nodes from within the SVG document, and duplicates them somewhere else. The effect is the same as if the nodes were deeply cloned into a non-exposed DOM, and then pasted where the use element is, much like anonymous content and XBL. Since the cloned nodes are not exposed, care must be taken when using CSS to style a use element and its hidden descendants. CSS attributes are not guaranteed to be inherited by the hidden, cloned DOM unless you explicitly request it using CSS inheritance.

Inherited from scalive.defs.tags.SvgTags.use. View source (Generated from Scala DOM Types 19.0.2)

values

lazy val values: HtmlAttr[String]

The values attribute has different meanings depending on the context where it's used. For animation elements, it defines a list of values to animate through. For <feColorMatrix>, it defines a list of values for the color transformation matrix.

Value: <list-of-values>

values @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.values. View source (Generated from Scala DOM Types 19.0.2)

view

lazy val view: HtmlTag

A view is a defined way to view the image, like a zoom level or a detail view.

Inherited from scalive.defs.tags.SvgTags.view. View source (Generated from Scala DOM Types 19.0.2)

viewBox

lazy val viewBox: HtmlAttr[String]

The viewBox attribute defines the position and dimension, in user space, of an SVG viewport. It's specified as four numbers: min-x, min-y, width and height, separated by whitespace and/or a comma.

Value: <min-x> <min-y> <width> <height>

viewBox @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.viewBox. View source (Generated from Scala DOM Types 19.0.2)

visibility

lazy val visibility: HtmlAttr[String]

The visibility attribute lets you control the visibility of graphical elements. With a value of hidden or collapse, the element is not drawn. With a value of visible, the element is drawn.

Value: visible | hidden | collapse | inherit

visibility @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.visibility. View source (Generated from Scala DOM Types 19.0.2)

vkern

lazy val vkern: HtmlTag

The vertical distance between two glyphs in top-to-bottom fonts can be fine-tweaked with an vkern Element. This process is known as Kerning.

vkern @ MDN

Inherited from scalive.defs.tags.SvgTags.vkern. View source (Generated from Scala DOM Types 19.0.2)

width

lazy val width: HtmlAttr[String]

The width attribute defines the horizontal length of an element in the user coordinate system. For SVG elements, it determines the width of the viewport or viewBox.

Value: <length> | <percentage> | auto

width @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.width. View source (Generated from Scala DOM Types 19.0.2)

wordSpacing

lazy val wordSpacing: HtmlAttr[String]

The word-spacing attribute specifies spacing behavior between words. As a presentation attribute, it can also be used as a property directly inside a CSS stylesheet.

Value: normal | <length>

word-spacing @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.wordSpacing. View source (Generated from Scala DOM Types 19.0.2)

writingMode

lazy val writingMode: HtmlAttr[String]

The writing-mode attribute specifies whether the initial inline-progression-direction for a text element is left-to-right, right-to-left, or top-to-bottom. As a presentation attribute, it can also be used as a property directly inside a CSS stylesheet.

Value: lr-tb | rl-tb | tb-rl | lr | rl | tb | horizontal-tb | vertical-rl | vertical-lr

writing-mode @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.writingMode. View source (Generated from Scala DOM Types 19.0.2)

x

lazy val x: HtmlAttr[String]

The x attribute defines an x-axis coordinate in the user coordinate system. The exact effect of this coordinate depends on the element it's used on.

Value: <coordinate>

x @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.x. View source (Generated from Scala DOM Types 19.0.2)

x1

lazy val x1: HtmlAttr[String]

The x1 attribute is used to specify the first x-coordinate for drawing an SVG element that requires more than one coordinate. Elements that use x1 include <line>, <linearGradient>, and other gradient elements.

Value: <coordinate>

x1 @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.x1. View source (Generated from Scala DOM Types 19.0.2)

x2

lazy val x2: HtmlAttr[String]

The x2 attribute is used to specify the second x-coordinate for drawing an SVG element that requires more than one coordinate. Elements that use x2 include <line>, <linearGradient>, and other gradient elements.

Value: <coordinate>

x2 @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.x2. View source (Generated from Scala DOM Types 19.0.2)

xChannelSelector

lazy val xChannelSelector: HtmlAttr[String]

The xChannelSelector attribute indicates which color channel from the input image to use to displace the pixels in the <feDisplacementMap> filter primitive. If not specified, the effect is as if a value of A were specified.

Value: R | G | B | A

xChannelSelector @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.xChannelSelector. View source (Generated from Scala DOM Types 19.0.2)

xmlns

lazy val xmlns: HtmlAttr[String]

The xmlns attribute specifies the XML namespace for the SVG document. For SVG, the namespace is always http://www.w3.org/2000/svg.

Value: http://www.w3.org/2000/svg

svg @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.xmlns. View source (Generated from Scala DOM Types 19.0.2)

y

lazy val y: HtmlAttr[String]

The y attribute defines a y-axis coordinate in the user coordinate system. The exact effect of this coordinate depends on the element it's used on.

Value: <coordinate>

y @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.y. View source (Generated from Scala DOM Types 19.0.2)

y1

lazy val y1: HtmlAttr[String]

The y1 attribute is used to specify the first y-coordinate for drawing an SVG element that requires more than one coordinate. Elements that use y1 include <line>, <linearGradient>, and other gradient elements.

Value: <coordinate>

y1 @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.y1. View source (Generated from Scala DOM Types 19.0.2)

y2

lazy val y2: HtmlAttr[String]

The y2 attribute is used to specify the second y-coordinate for drawing an SVG element that requires more than one coordinate. Elements that use y2 include <line>, <linearGradient>, and other gradient elements.

Value: <coordinate>

y2 @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.y2. View source (Generated from Scala DOM Types 19.0.2)

yChannelSelector

lazy val yChannelSelector: HtmlAttr[String]

The yChannelSelector attribute indicates which color channel from the input image to use to displace the pixels in the <feDisplacementMap> filter primitive. If not specified, the effect is as if a value of A were specified.

Value: R | G | B | A

yChannelSelector @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.yChannelSelector. View source (Generated from Scala DOM Types 19.0.2)

z

lazy val z: HtmlAttr[String]

The z attribute defines the location along the Z-axis for a light source in the coordinate system established by the primitiveUnits attribute on the <filter> element. If the attribute is not specified, the effect is as if a value of 0 were specified.

Value: <number>

z @ MDN

Inherited from scalive.defs.attrs.SvgAttrs.z. View source (Generated from Scala DOM Types 19.0.2)