1.12.5 • Published 5 years ago

sling-web-component-card v1.12.5

Weekly downloads
221
License
-
Repository
-
Last release
5 years ago

sling-web-component-card

Install

npm install sling-web-component-card

Tag

  <sling-card></sling-card>

Dependencies

  • sling-framework
  • sling-helpers

Attributes and properties

NameTypeDefault ValuesReflectToAttributeObservercallSdk
backgroundheaderBooleanfalse:heavy_check_mark:
nopaddingBooleanfalse:heavy_check_mark:
nopaddingheaderBooleanfalse:heavy_check_mark:
nopaddingbodyBooleanfalse:heavy_check_mark:
nopaddingfooterBooleanfalse:heavy_check_mark:
nodivisorsBooleanfalse:heavy_check_mark:

Description

NameDescription
backgroundheaderDefine the background CSS property of the header.
nopaddingDefines whether the card's header, body and footer will have padding.
nopaddingheaderDefines whether the card's header will have padding.
nopaddingbodyDefines whether the card's body will have padding.
nopaddingfooterDefines whether the card's footer will have padding.
nodivisorsSets whether the card will have lines between header, body and footer.

Events

This component have no events.

Usage

All content that is used inside the tag automatically goes to the body of the card in case you need to use header or footer. use the slot tag to direct the content.

<sling-card>
  <span slot="header">Header</span>
  <div>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore
    magna aliqua.
  </div>
  <span slot="footer">Footer</span>
</sling-card>

image

1.12.5

5 years ago

1.12.4

5 years ago

1.12.3

5 years ago

1.12.2

5 years ago

1.12.0

5 years ago

1.11.7

5 years ago

1.11.6

5 years ago

1.11.5

6 years ago

1.11.4

6 years ago

1.11.3

6 years ago

1.11.2

6 years ago

1.11.1

6 years ago

1.11.0

6 years ago

1.8.0

6 years ago

1.7.0

6 years ago

1.6.0

6 years ago

1.5.0

6 years ago

1.4.0

6 years ago

0.17.0

6 years ago

0.16.0

6 years ago

0.15.1

6 years ago

0.15.0

6 years ago

0.14.1

6 years ago

0.14.0

6 years ago

0.13.2

6 years ago

0.13.1

6 years ago

0.13.0

6 years ago

0.12.0

6 years ago

0.11.0

6 years ago

0.10.1

6 years ago

0.10.0

6 years ago

0.9.0

6 years ago

0.8.0

6 years ago

0.7.1

6 years ago

0.7.0

6 years ago

0.5.0

6 years ago

0.4.0

6 years ago

0.3.3

6 years ago

0.3.2

6 years ago

0.3.1

6 years ago

0.3.0

6 years ago

0.2.36

6 years ago

0.2.34

6 years ago

0.2.32

6 years ago

0.2.31

6 years ago

0.2.30

6 years ago

0.2.29

6 years ago

0.2.28

6 years ago

0.2.27

6 years ago

0.2.26

6 years ago

0.2.25

6 years ago

0.2.24

6 years ago

0.2.23

6 years ago

0.2.22

6 years ago