Article

type

Specifies how a badge is drawn.

Overview

Use the type attribute to specify whether a badge is filled or an outline.

Values for type

fill

Completely fills the badge icon.

stroke

Draws the badge icon as an outline. This is the default value.

Elements that Use type

See Also

Image Display

aspectFill

Stretches an image to fill the containing bounding box.

contentsMode

Specifies how an image is expanded to fill its containing element.

opaque

Indicates whether an image has a transparent background.

mode

Specifies how an image is displayed.

value

Specifies the value used for a fillable element.