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>
bower install --save k-redirect
npm install k-redirect
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 |
- 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