Hi friends ,
Total i will Explain you how to override "bootstrap-rating.min.js".
Special Thank to my friend "vedant.malaikar" he tech me this skill.
So friends is you are new in jquery ajax that is very nice article to you.
How to create your custom function and override "bootstrap-rating.min.js".
This is Kartik Visweswaran min.js file if you want to override it.Your are on correct Place.
/*!
* bootstrap-star-rating v4.0.2
* http://plugins.krajee.com/star-rating
*
* Author: Kartik Visweswaran
* Copyright: 2013 - 2017, Kartik Visweswaran, Krajee.com
*
* Licensed under the BSD 3-Clause
* https://github.com/kartik-v/bootstrap-star-rating/blob/master/LICENSE.md
In My case i want 10 starts with small size you can change want you want according to your requirement.
So let's start
Step 1:-
Go to unminify.com
Step 2:-
Paset your bootstrap file inside it and click unminify button.
Check your property which property you want to override.
Step 3:-
Go to you View .
<div class="text-center m-t-md">
<input type="button" id="input-3" name="input-3" class="rate" data-min="0" data-max="10" data-step="1" value="0">
</div>
An inside the script wrote below code:-
<script type="text/javascript">
$(document).ready(function () {
$(".rate").rating({
size: 'xs',
stars: 10
});
});
</script>
!!!!!!!!!!!!!!!!!!!!!!!!!!Thank you!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Total i will Explain you how to override "bootstrap-rating.min.js".
Special Thank to my friend "vedant.malaikar" he tech me this skill.
So friends is you are new in jquery ajax that is very nice article to you.
How to create your custom function and override "bootstrap-rating.min.js".
This is Kartik Visweswaran min.js file if you want to override it.Your are on correct Place.
/*!
* bootstrap-star-rating v4.0.2
* http://plugins.krajee.com/star-rating
*
* Author: Kartik Visweswaran
* Copyright: 2013 - 2017, Kartik Visweswaran, Krajee.com
*
* Licensed under the BSD 3-Clause
* https://github.com/kartik-v/bootstrap-star-rating/blob/master/LICENSE.md
In My case i want 10 starts with small size you can change want you want according to your requirement.
So let's start
Step 1:-
Go to unminify.com
Step 2:-
Paset your bootstrap file inside it and click unminify button.
Check your property which property you want to override.
Step 3:-
Go to you View .
<div class="text-center m-t-md">
<input type="button" id="input-3" name="input-3" class="rate" data-min="0" data-max="10" data-step="1" value="0">
</div>
An inside the script wrote below code:-
<script type="text/javascript">
$(document).ready(function () {
$(".rate").rating({
size: 'xs',
stars: 10
});
});
</script>
!!!!!!!!!!!!!!!!!!!!!!!!!!Thank you!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
No comments:
Post a Comment