Open alxpsr opened 5 years ago
Hello everyone, same problem here. I am using angular 8. Any idea on how to fix it?
apply this patch
const fs = require('fs');
const path = require('path');
const PATH_TO_FILE = path.join(__dirname, '../../node_modules/@ngx-material-keyboard/core/components/keyboard-container/keyboard-container.component.d.ts');
fs.readFile(PATH_TO_FILE, 'utf8', (err, data) => {
if (err) {
console.error(err);
return;
}
const result = data.replace('private _animationState', 'public _animationState');
fs.writeFile(PATH_TO_FILE, result, (err) => {
if (err) {
console.error('PATCH FAIL', err);
return;
}
console.info('PATCH SUCCESS');
});
})
Is there a chance that this problem will be fixed in lib code? Identical problem is with methods _showKeyboard
and _hideKeyboard
.
Thx in advance.
Package version: 0.1.1
If set
"fullTemplateCheck": "true"
intsconfig.json
i will got an errorProperty '_animationState' is private and only accessible within class 'MatKeyboardContainerComponent'
Problem is here:
This HostBinder used outside of MatKeyboardContainerComponent