0.0.11 • Published 2 years ago

@golden-tiger/outer-box v0.0.11

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
2 years ago

@golden-tiger/outer-box

Create outer border box for given target html element.

Functions

useOuterBox(options)

  • options.target: wrapped html element.
  • options.boxWidth: wrapped box width (default value: 2).
  • options.boxStyle: wrapped box style (default value: 'dashed'. 'solid', 'dashed' and other border style css property).
  • options.boxColor: wrapped box color (default value: 'red').
  • returns: outerBox, update, setTarget,

Example

outer-box-example

0.0.11

2 years ago

0.0.10

2 years ago

0.0.9

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago

0.0.8

2 years ago