0.0.11 • Published 11 months ago

@golden-tiger/outer-box v0.0.11

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
11 months 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

11 months ago

0.0.10

11 months ago

0.0.9

11 months ago

0.0.7

11 months ago

0.0.6

11 months ago

0.0.5

11 months ago

0.0.4

11 months ago

0.0.3

11 months ago

0.0.2

11 months ago

0.0.1

11 months ago

0.0.8

11 months ago