mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-10 09:22:34 +00:00
Theming API: Add dt
props to all component
This commit is contained in:
parent
3589ef9e38
commit
7c299f55f9
6 changed files with 61 additions and 24 deletions
|
@ -108,6 +108,11 @@ export default {
|
|||
variables: ThemeUtils.getPresetD(options)
|
||||
};
|
||||
},
|
||||
getPresetCSS(name = '', preset, selector, params) {
|
||||
const options = { name, preset, options: this.options, selector, params, defaults: this.defaults, set: { layerNames: this.setLayerNames.bind(this) } };
|
||||
|
||||
return ThemeUtils.getPreset(options);
|
||||
},
|
||||
getLayerOrderCSS(name = '') {
|
||||
return ThemeUtils.getLayerOrder(name, this.options, { names: this.getLayerNames() }, this.defaults);
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue