k-redirect
v1.0.0
Published
a simple component for redirect page.
Maintainers
Readme
<k-redirect>
a simple component for redirect page.
<k-redirect mode="off" to="https://github.com/k4ng/k-redirect"></k-redirect>
<p>
Remove property <code>mode="off"</code> or change value property from OFF to ON.
Result, the component will automatically redirect the page to
<code>https://github.com/k4ng/k-redirect</code> in 10 milliseconds (0.01 sec)
</p>How to install
bower
bower install --save k-redirectnpm
npm install k-redirectProperties
Data Attribute | Description | Default Value -------------- | ----------- | ------------- to | to set the destination URL | http://www.kang-cahya.com time | to set speed redirect. Unit within a millisecond. | 10 milliseconds mode | to set redirect mode "ON" or "OFF" | ON
Contributing
- Fork it!
- 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
