@haxtheweb/b-r
v25.0.0
Published
Creates break statements to show conditional rendering
Downloads
42
Maintainers
Readme
<b-r>
R
Creates break statements to show conditional rendering
Usage
To use this web component in your project you can utilize one of the following styles of syntax.
/* In an existing JS module / web component */
import '@haxtheweb/b-r/b-r.js';
/* CDN */
<script type="module" src="https://cdn.hax.cloud/cdn/build/es6/node_modules/@haxtheweb/b-r/b-r.js"></script>Tag Properties
amount="number" Specify the number of br tags to be inserted. No value or 0 will use the screen height to generate br tags.
Develop / Demo
Running npm start will start a local development server and open your default browser to display it. It will start watching .js and lib/.js files for changes automatically for your demo.
$ npm startContributing
- Fork it!
git clone https://github.com/haxtheweb/webcomponents.git - Create your feature branch:
git checkout -b my-new-feature - Commit your changes:
git commit -m 'Add some feature' - Push to the branch:
git push origin my-new-feature - Submit a pull request :D
