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!
Parcourir la source

A bit of debugging in WBAccordion.

master
Stanislaw Adaszewski il y a 4 ans
Parent
révision
6a5e0c498b
1 fichiers modifiés avec 9 ajouts et 0 suppressions
  1. +9
    -0
      frontend/src/js/widget/wb-accordion.js

+ 9
- 0
frontend/src/js/widget/wb-accordion.js Voir le fichier

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


Chargement…
Annuler
Enregistrer