<p dir="auto">Basically in my twig template (if you come from Symfony2 you will know what I mean), if you have this sort of usage:</p>
<div class="highlight highlight-text-html-django notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&lt;button data-loading-text=&quot;{{ 'foo.bar.save_button.label'|trans }}&quot; class=&quot;btn primary&quot;&gt;{{ 'foo.bar.save_button.label'|trans }}&lt;/button&gt;"><pre class="notranslate">&lt;<span class="pl-ent">button</span> <span class="pl-e">data-loading-text</span>=<span class="pl-s"><span class="pl-pds">"</span>{{ 'foo.bar.save_button.label'|trans }}<span class="pl-pds">"</span></span> <span class="pl-e">class</span>=<span class="pl-s"><span class="pl-pds">"</span>btn primary<span class="pl-pds">"</span></span>&gt;{{ 'foo.bar.save_button.label'|trans }}&lt;/<span class="pl-ent">button</span>&gt;</pre></div>
<p dir="auto">I'm just saying that I want the "disabled" behaviour of the button, but I don't want the text to change when the button is loading. However, there is obviously a bit of duplication here in my template that I'd rather avoid to keep my line size down and typing down.</p>
<p dir="auto">How about some sort of alternative value / attribute when you want the text to be the same?</p>
<p dir="auto">Or, maybe what I'm really looking for is just a disabled state?</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="myButton.button(&quot;disabled&quot;);"><pre class="notranslate"><span class="pl-s1">myButton</span><span class="pl-kos">.</span><span class="pl-en">button</span><span class="pl-kos">(</span><span class="pl-s">"disabled"</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div>
<p dir="auto">There's one line that uses the <code class="notranslate">slide.bs.carousel</code> event, and there are others that use <code class="notranslate">slid.bs.carousel</code>. Is this a typo? I don't know if I'm missing anything, sorry in that case!</p>
<p dir="auto"><a href="https://github.com/twbs/bootstrap/blob/master/js/carousel.js#L106">https://github.com/twbs/bootstrap/blob/master/js/carousel.js#L106</a></p>