Hawaii Department of Commerce and Consumer Affairs, Office of Consumer Protection, Landlord Tenant Information Center
- Citation
- Hawaii Department of Commerce and Consumer Affairs, Office of Consumer Protection, Landlord Tenant Information Center
- Jurisdiction
- Hawaii (state)
- Source
- Official source
- Original Source
- https://cca.hawaii.gov/ocp/landlord-tenant/ ↗
Related Parts of This Source
- Hawaii Department of Commerce and Consumer Affairs, Office of Consumer Protection, Landlord Tenant Information Center
- Hawaii Department of Commerce and Consumer Affairs, Office of Consumer Protection, Landlord Tenant Information Center
- Hawaii Department of Commerce and Consumer Affairs, Office of Consumer Protection, Landlord Tenant Information Center
- Hawaii Department of Commerce and Consumer Affairs, Office of Consumer Protection, Landlord Tenant Information Center
- Hawaii Department of Commerce and Consumer Affairs, Office of Consumer Protection, Landlord Tenant Information Center
- Hawaii Department of Commerce and Consumer Affairs, Office of Consumer Protection, Landlord Tenant Information Center
- Hawaii Department of Commerce and Consumer Affairs, Office of Consumer Protection, Landlord Tenant Information Center
- Hawaii Department of Commerce and Consumer Affairs, Office of Consumer Protection, Landlord Tenant Information Center
- Hawaii Department of Commerce and Consumer Affairs, Office of Consumer Protection, Landlord Tenant Information Center
- Hawaii Department of Commerce and Consumer Affairs, Office of Consumer Protection, Landlord Tenant Information Center
- Hawaii Department of Commerce and Consumer Affairs, Office of Consumer Protection, Landlord Tenant Information Center
- Hawaii Department of Commerce and Consumer Affairs, Office of Consumer Protection, Landlord Tenant Information Center
- Hawaii Department of Commerce and Consumer Affairs, Office of Consumer Protection, Landlord Tenant Information Center
- Hawaii Department of Commerce and Consumer Affairs, Office of Consumer Protection, Landlord Tenant Information Center
- Hawaii Department of Commerce and Consumer Affairs, Office of Consumer Protection, Landlord Tenant Information Center
- Hawaii Department of Commerce and Consumer Affairs, Office of Consumer Protection, Landlord Tenant Information Center
- Hawaii Department of Commerce and Consumer Affairs, Office of Consumer Protection, Landlord Tenant Information Center
- Hawaii Department of Commerce and Consumer Affairs, Office of Consumer Protection, Landlord Tenant Information Center
- Hawaii Department of Commerce and Consumer Affairs, Office of Consumer Protection, Landlord Tenant Information Center
- Hawaii Department of Commerce and Consumer Affairs, Office of Consumer Protection, Landlord Tenant Information Center
- Hawaii Department of Commerce and Consumer Affairs, Office of Consumer Protection, Landlord Tenant Information Center
- Hawaii Department of Commerce and Consumer Affairs, Office of Consumer Protection, Landlord Tenant Information Center
- Hawaii Department of Commerce and Consumer Affairs, Office of Consumer Protection, Landlord Tenant Information Center
- Hawaii Department of Commerce and Consumer Affairs, Office of Consumer Protection, Landlord Tenant Information Center
- Hawaii Department of Commerce and Consumer Affairs, Office of Consumer Protection, Landlord Tenant Information Center
- Hawaii Department of Commerce and Consumer Affairs, Office of Consumer Protection, Landlord Tenant Information Center
- Hawaii Department of Commerce and Consumer Affairs, Office of Consumer Protection, Landlord Tenant Information Center
Full Text
1,617 charsfunction openAccordionPanel(collapseEl, accordionBtn) {
if (!collapseEl || !accordionBtn) return;
var parentId = collapseEl.getAttribute('data-bs-parent');
if (parentId) {
var parent = document.querySelector(parentId);
if (parent) {
parent.querySelectorAll('.accordion-collapse.show').forEach(function(other) {
if (other !== collapseEl) {
other.classList.remove('show');
var btn = other.closest('.accordion-item') && other.closest('.accordion-item').querySelector(
'.accordion-button');
if (btn) {
btn.classList.add('collapsed');
btn.setAttribute('aria-expanded', 'false');
}
}
});
}
}
collapseEl.classList.add('show');
accordionBtn.classList.remove('collapsed');
accordionBtn.setAttribute('aria-expanded', 'true');
}
const accordionItem = el.classList.contains('accordion-item') ? el : el.closest('.accordion-item');
const accordionWrap = el.closest('.accordion-wrap.v2');
const showMoreBtn = accordionWrap ?
accordionWrap.querySelector('.btn-wrapper .btn.btn-outline-primary') :
null;
const btnText = (showMoreBtn && (showMoreBtn.textContent || '').trim().toLowerCase()) || '';
const isShowMoreBtn = btnText.indexOf('show more') !== -1;
const isShowMoreClosed = showMoreBtn && isShowMoreBtn &&
showMoreBtn.getAttribute('aria-expanded') !== 'true';
const collapseEl = accordionItem ? accordionItem.querySelector('.accordion-collapse') : (el.classList.contains(
'accordion-collapse') ? el : el.closest('.accordion-collapse'));
const accordionBtn = accordionItem ? accordionItem.querySelector('.accordion-button') : null;
const isCollapseClosed = accordionBtn && collapseEl && !collapseEl.classList.contains('show');