mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Remove unused unstyled mode checks
This commit is contained in:
parent
db4589c4c6
commit
34d2b65236
3 changed files with 0 additions and 40 deletions
|
@ -1,9 +1,5 @@
|
|||
<script>
|
||||
import BaseComponent from 'primevue/basecomponent';
|
||||
import { useStyle } from 'primevue/usestyle';
|
||||
|
||||
const styles = `
|
||||
`;
|
||||
|
||||
const classes = {
|
||||
root: ({ instance }) => [
|
||||
|
@ -14,8 +10,6 @@ const classes = {
|
|||
]
|
||||
};
|
||||
|
||||
const { load: loadStyle, unload: unloadStyle } = useStyle(styles, { id: 'primevue_inputmask_style', manual: true });
|
||||
|
||||
export default {
|
||||
name: 'BaseInputMask',
|
||||
extends: BaseComponent,
|
||||
|
@ -44,14 +38,6 @@ export default {
|
|||
},
|
||||
css: {
|
||||
classes
|
||||
},
|
||||
watch: {
|
||||
isUnstyled: {
|
||||
immediate: true,
|
||||
handler(newValue) {
|
||||
!newValue && loadStyle();
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
</script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue