DEV Community

Imam Ali Mustofa
Imam Ali Mustofa

Posted on

Answer: AdminLTE box-collapse trigger/event listener

In my case when using Admin-LTE 3.0 and want to use widget cards like Maximized and Minimized cards.


I modified the default structure of the Admin-LTE template:

 <div class="card card-success" id="card-slide">
        <div class="card-header">
            <h3 class="card-title">Bagian Sliders</h3>
            <div class="card-tools">
                <button type="button" class="btn btn-tool" data-card-widget="maximize" onclick="card_collapse('#card-slide')" title="Click to expand"><i class="fas fa-expand"></i>

Discussion (0)