Skip to content

CHENGCHANGHU/outer-box

Repository files navigation

@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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published