3.7.0 • Published 9 months ago

@forter/link v3.7.0

Weekly downloads
79
License
Apache-2.0
Repository
github
Last release
9 months ago

fc-link

An element to be used as link to specific area of new tab

npm.io npm.io npm.io npm.io npm.io npm.io

Usage

<script>
   import '@forter/link';
</script>

<fc-link>
   <a href="www.google.com" target="_blank"> Link </a>
</fc-link>

Examples

<!-- intent -->
<fc-link active>
   <a href="www.google.com" target="_blank"> Link </a>
</fc-link>

Properties

PropertyAttributeTypeDescription
activeactivebooleanIf the link is active
disableddisabledbooleanIf the link is disabled
intentintent"primary" \| "secondary" \| "success" \| "apply" \| "danger" \| "warn"The button's intent. See Intents in README.
sizesize"small" \| "medium" \| "large"The button's shapre type. default: line

Events

EventDescription
clickwhen clicking it
mouseleavewhen getting out of link

Slots

NameDescription
content slot. example: <a href="/?path=/story/display-components-icon--default-properties" target="_blank">Fc Icon Docs</fc-icon></a>

CSS Custom Properties

PropertyDescription
--fc-link-colorlink's text color. default: black
--fc-link-disabled-colorlink's text color when disabled. default: --fc-gray-600
--fc-link-line-colorlink's bottom border color. default: --cyan-4
--fc-link-line-fromlink's bottom border initial y position relatively to host. default: -15px
--fc-link-line-tolink's bottom border final y position relatively to host. default: 0px
--fc-link-paddinglink's inner padding. default: 2px 3px
3.7.0

9 months ago

3.6.0

3 years ago

3.5.15

3 years ago

3.5.14

4 years ago

3.5.13

5 years ago

3.5.12

5 years ago

3.5.11

5 years ago

3.5.10

5 years ago

3.5.9

5 years ago

3.5.8

5 years ago

3.5.7

5 years ago

3.5.6

5 years ago

3.5.5

5 years ago

3.5.4

5 years ago

3.5.3

5 years ago

3.5.2

5 years ago

3.5.1

5 years ago

3.5.0

5 years ago

3.4.12

5 years ago

3.4.11

5 years ago

3.4.10

5 years ago

3.4.8

5 years ago

3.4.9

5 years ago

3.4.7

5 years ago

3.4.6

5 years ago

3.4.5

5 years ago

3.4.4

5 years ago

3.4.3

5 years ago

3.4.2

5 years ago

3.4.1

5 years ago

3.4.0

5 years ago

3.3.0

5 years ago

3.2.1

6 years ago

3.2.0

6 years ago

3.1.2

6 years ago

3.1.1

6 years ago

3.1.0

6 years ago

3.0.0

6 years ago

2.1.0

6 years ago

2.0.0

6 years ago