Hmm...It is working in that way: onElementMdlComponentUpgraded - Is a event handler which is raised by MDL javascript library when components are ready. - Once it's ready I'm taking object of snackbar [1] - In method show line 128 - I'm using from this object "showSnackbar" function
[1] https://github.com/google/material-design-lite/blob/88872e672e41c56af0a78a35b34373b8c4a8c49d/src/snackbar/snackbar.js Piotr ----- Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.2333347.n4.nabble.com/FlexJS-calling-a-method-over-an-object-that-can-t-be-declared-as-HTMLDialogElement-tp58428p58461.html Sent from the Apache Flex Development mailing list archive at Nabble.com.