sc-fitted-text

WebJar for sc-fitted-text

Лицензия

Лицензия

MIT
Группа

Группа

org.webjars.bowergithub.supportclass
Идентификатор

Идентификатор

sc-fitted-text
Последняя версия

Последняя версия

1.1.1
Дата

Дата

Тип

Тип

jar
Описание

Описание

sc-fitted-text
WebJar for sc-fitted-text
Ссылка на сайт

Ссылка на сайт

http://webjars.org
Система контроля версий

Система контроля версий

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

Скачать sc-fitted-text

Как подключить последнюю версию

<!-- 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"]

Зависимости

compile (1)

Идентификатор библиотеки Тип Версия
org.webjars.bowergithub.polymer : polymer jar [2.0.0,3)

Модули Проекта

Данный проект не имеет модулей.

<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.

Версии библиотеки

Версия
1.1.1