我想更改Lock中显示的public class List {
private class ListNode {
private int contents;
private ListNode next;
ListNode(int contents) {
this.contents = contents;
this.next = null;
}
}
private ListNode head;
public List() {
head = null;
}
public void insert(int contents) {
ListNode newNode = new ListNode(contents);
if (head == null) {
head = newNode;
}
ListNode current = head;
while (current != null) {
current = current.next;
}
current = newNode;
}
public void reverse() {
ListNode current = head;
ListNode nodeNext = current.next;
while (nodeNext != null) {
current.next = null;
nodeNext.next = current;
current = nodeNext;
}
head = current;
}
public String toString() {
String s = "";
ListNode current = head;
while (current != null) {
s = current.contents + s;
current = current.next;
}
return s;
}
public static void main(String[] args) {
List l = new List();
l.insert(3);
l.insert(7);
l.insert(10);
l.reverse();
System.out.println(l.toString());
}
}
的默认标题值;见下图。
答案 0 :(得分:5)
假设您使用的是最新版本的Lock(Lock 10),您可以通过languageDictionary
对象自定义锁定显示的任何文本。
var options = {
languageDictionary: {
title: "[YOUR_TEXT_HERE]"
},
};
检查documentation以获取有关如何使用此对象的其他信息。
答案 1 :(得分:0)
您想要更改哪个值? Auth0?如果是,请设置Auth0的值并将其设为Input(),如:
export class HeadComponent {
@Input() Auth0;
}
HTML中的:
<heading-component [Auth0]="custom value"></heading-component>