{"size": 1158, "ext": "js", "max_stars_repo_path": "src/views/components/dropdown/examples/dropdown-text-item-example.js", "max_stars_repo_name": "nik-christou/lit-element-bootstrap-docs", "max_stars_repo_stars_event_min_datetime": "2020-02-23T21:37:03.000Z", "max_stars_repo_stars_event_max_datetime": "2020-02-23T21:37:03.000Z", "max_issues_repo_path": "src/views/components/dropdown/examples/dropdown-text-item-example.js", "max_issues_repo_name": "nik-christou/lit-element-bootstrap-docs", "max_issues_repo_issues_event_min_datetime": "2021-03-01T20:18:58.000Z", "max_issues_repo_issues_event_max_datetime": "2021-09-20T21:01:06.000Z", "max_forks_repo_path": "src/views/components/dropdown/examples/dropdown-text-item-example.js", "max_forks_repo_name": "nik-christou/lit-element-bootstrap-docs", "max_forks_repo_forks_event_min_datetime": "2019-07-28T03:11:43.000Z", "max_forks_repo_forks_event_max_datetime": "2019-07-28T03:11:43.000Z"}
{"max_stars_count": 1, "max_issues_count": 5, "max_forks_count": 1, "avg_line_length": 36.1875, "max_line_length": 105, "alphanum_fraction": 0.6053540587}

import { LitElement } from 'lit-element';
import { BsClearfixCss } from '@lit-element-bootstrap/utilities';
import { BsExampleMixin } from '../../../../component/example/bs-example-mixin.js';

import '@lit-element-bootstrap/button';
import '@lit-element-bootstrap/dropdown';

class DropdownTextItemExample extends BsExampleMixin(LitElement) {
    
    static get styles() {
        return [
            super.styles,
            BsClearfixCss
        ];
    }
    
    _getExample() {
        return `
            <div class="clearfix">
                <bs-dropdown-menu show static x-placement="bottom-start">
                    <bs-dropdown-item-text>Dropdown item text</bs-dropdown-item-text>
                    <bs-dropdown-item-link title="Action" index="1"></bs-dropdown-item-link>
                    <bs-dropdown-item-link title="Another action" index="2"></bs-dropdown-item-link>
                    <bs-dropdown-item-link title="Something else here" index="3"></bs-dropdown-item-link>
                </bs-dropdown-menu>
            </div>
        `;
    }
};

window.customElements.define('dropdown-text-item-example', DropdownTextItemExample);