IF YOU WOULD LIKE TO GET AN ACCOUNT, please write an email to s dot adaszewski at gmail dot com. User accounts are meant only to report issues and/or generate pull requests. This is a purpose-specific Git hosting for ADARED projects. Thank you for your understanding!
Kaynağa Gözat

A bit of debugging in WBAccordion.

pull/1/head
Stanislaw Adaszewski 4 yıl önce
ebeveyn
işleme
6a5e0c498b
1 değiştirilmiş dosya ile 9 ekleme ve 0 silme
  1. +9
    -0
      frontend/src/js/widget/wb-accordion.js

+ 9
- 0
frontend/src/js/widget/wb-accordion.js Dosyayı Görüntüle

@@ -6,8 +6,17 @@ class WBAccordion extends Component {
this.state.domId = 'accordion-' + uuid.v4();
this.state.headerDomIds = this.props.names.map(() => ('accordion-' + uuid.v4()));
this.state.collapseDomIds = this.props.names.map(() => ('accordion-' + uuid.v4()));
// console.log('WBAccordion() : domId=' + this.state.domId);
}
/* componentDidMount() {
console.log('WBAccordion.componentDidMount()');
}
componentWillReceiveProps(nextProps) {
console.log('WBAccordion.componentWillReceiveProps()');
} */
render({ children, names, cardHeaderClass }, { domId, headerDomIds, collapseDomIds }) {
return (
<div class="accordion" id={ domId }>


Yükleniyor…
İptal
Kaydet