mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-08 16:37:15 +00:00
Refactor #3965 - Update method name
This commit is contained in:
parent
717e0d79e6
commit
202c208e7a
4 changed files with 68 additions and 68 deletions
|
@ -51,10 +51,10 @@ export default {
|
|||
ptmo(obj = {}, key = '', params = {}) {
|
||||
return this.getPTValue(obj, key, params);
|
||||
},
|
||||
css(key = '', params = {}) {
|
||||
cx(key = '', params = {}) {
|
||||
return !this.isUnstyled ? ObjectUtils.getItemValue(this.getOption(this.$options.style && this.$options.style.classes, key), { instance: this, props: this.$props, state: this.$data, ...params }) : undefined;
|
||||
},
|
||||
style(key = '', when = true, params = {}) {
|
||||
sx(key = '', when = true, params = {}) {
|
||||
if (when) {
|
||||
const self = ObjectUtils.getItemValue(this.getOption(this.$options.style && this.$options.style.inlineStyles, key), { instance: this, props: this.$props, state: this.$data, ...params });
|
||||
const base = ObjectUtils.getItemValue(this.getOption(inlineStyles, key), { instance: this, props: this.$props, state: this.$data, ...params });
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue