Refactor #3965 - Update method name

This commit is contained in:
mertsincan 2023-05-19 12:14:50 +01:00
parent 717e0d79e6
commit 202c208e7a
4 changed files with 68 additions and 68 deletions

View file

@ -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 });