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!
Quellcode durchsuchen

A bit of debugging in WBAccordion.

pull/1/head
Stanislaw Adaszewski vor 4 Jahren
Ursprung
Commit
6a5e0c498b
1 geänderte Dateien mit 9 neuen und 0 gelöschten Zeilen
  1. +9
    -0
      frontend/src/js/widget/wb-accordion.js

+ 9
- 0
frontend/src/js/widget/wb-accordion.js Datei anzeigen

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


Laden…
Abbrechen
Speichern