Работа над BookInfoDialog
This commit is contained in:
@@ -59,7 +59,7 @@ class ObjectNavigator {
|
||||
return null;
|
||||
|
||||
raw = (Array.isArray(raw) ? raw : [raw]);
|
||||
|
||||
|
||||
const result = [];
|
||||
for (const r of raw)
|
||||
result.push(new ObjectNavigator(r));
|
||||
@@ -80,6 +80,11 @@ class ObjectNavigator {
|
||||
return this.raw;
|
||||
}
|
||||
|
||||
v(selector = '') {
|
||||
const res = this.$(selector);
|
||||
return (res ? res.value : null);
|
||||
}
|
||||
|
||||
text(selector = '') {
|
||||
const res = this.$(`${selector}/*TEXT`);
|
||||
return (res ? res.value : null);
|
||||
|
||||
Reference in New Issue
Block a user