+ setup() {
+ this.elem = this.$el;
+ this.pageId = Number(this.$opts.pageId);
+
+ // Element references
+ this.container = this.$refs.commentContainer;
+ this.formContainer = this.$refs.formContainer;
+ this.commentCountBar = this.$refs.commentCountBar;
+ this.addButtonContainer = this.$refs.addButtonContainer;
+ this.replyToRow = this.$refs.replyToRow;
+
+ // Translations
+ this.updatedText = this.$opts.updatedText;
+ this.deletedText = this.$opts.deletedText;
+ this.createdText = this.$opts.createdText;
+ this.countText = this.$opts.countText;
+
+ // Internal State