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!
Selaa lähdekoodia

A bit of debugging in WBAccordion.

pull/1/head
Stanislaw Adaszewski 4 vuotta sitten
vanhempi
commit
6a5e0c498b
1 muutettua tiedostoa jossa 9 lisäystä ja 0 poistoa
  1. +9
    -0
      frontend/src/js/widget/wb-accordion.js

+ 9
- 0
frontend/src/js/widget/wb-accordion.js Näytä tiedosto

@@ -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 }>


Loading…
Peruuta
Tallenna