sc-fitted-text

WebJar for sc-fitted-text

License

License

MIT
GroupId

GroupId

org.webjars.bowergithub.supportclass
ArtifactId

ArtifactId

sc-fitted-text
Last Version

Last Version

1.1.1
Release Date

Release Date

Type

Type

jar
Description

Description

sc-fitted-text
WebJar for sc-fitted-text
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/SupportClass/sc-fitted-text

Download sc-fitted-text

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.bowergithub.supportclass/sc-fitted-text/ -->
<dependency>
    <groupId>org.webjars.bowergithub.supportclass</groupId>
    <artifactId>sc-fitted-text</artifactId>
    <version>1.1.1</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.bowergithub.supportclass/sc-fitted-text/
implementation 'org.webjars.bowergithub.supportclass:sc-fitted-text:1.1.1'
// https://jarcasting.com/artifacts/org.webjars.bowergithub.supportclass/sc-fitted-text/
implementation ("org.webjars.bowergithub.supportclass:sc-fitted-text:1.1.1")
'org.webjars.bowergithub.supportclass:sc-fitted-text:jar:1.1.1'
<dependency org="org.webjars.bowergithub.supportclass" name="sc-fitted-text" rev="1.1.1">
  <artifact name="sc-fitted-text" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.bowergithub.supportclass', module='sc-fitted-text', version='1.1.1')
)
libraryDependencies += "org.webjars.bowergithub.supportclass" % "sc-fitted-text" % "1.1.1"
[org.webjars.bowergithub.supportclass/sc-fitted-text "1.1.1"]

Dependencies

compile (1)

Group / Artifact Type Version
org.webjars.bowergithub.polymer : polymer jar [2.0.0,3)

Project Modules

There are no modules declared in this project.

<sc-fitted-text> Published on webcomponents.org Build Status Coverage Status Polymer 2 only

A Polymer 2 element for horizontally squishing text to stay within a max width.

Motivation

Broadcast graphics often need to ensure that text will fit within a given space. There are existing libraries out there that can reduce the font size of an element to fit a given space, but this behavior isn't always what is wanted. Sometimes, the design calls for horizontally squishing (scaling) the text, rather than reducing the font size. This element enables that.

Installation

bower install --save SupportClass/sc-fitted-text

Example

<sc-fitted-text text="Hello world!" max-width="100" align="center"></sc-fitted-text>

See the Demo page for an interactive example.

org.webjars.bowergithub.supportclass

Support Class

We design and develop professional livestreams.

Versions

Version
1.1.1