@golden-tiger/outer-box
TypeScript icon, indicating that this package has built-in type declarations

0.0.11 • Public • Published

@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

Readme

Keywords

Package Sidebar

Install

npm i @golden-tiger/outer-box

Weekly Downloads

1

Version

0.0.11

License

Apache-2.0

Unpacked Size

17 kB

Total Files

8

Last publish

Collaborators

  • tigercheng