[]
        
(Showing Draft Content)

Interops.Angular.GcComment

GcComment クラス

階層

  • GcComment

プロパティ

addCommentEditorPosition

addCommentEditorPosition: GcCommentEditorPosition

継承元 GcCommentConfig.addCommentEditorPosition コメントエディタの表示位置。

addNewCommentTo

addNewCommentTo: AddNewCommentPosition

継承元 GcCommentConfig.addNewCommentTo 新規コメントの追加位置を指定します。

allowAnonymous

allowAnonymous: boolean

継承元 GcCommentConfig.allowAnonymous GcCommentが匿名投稿を許可するかどうかを指定します

anonymousUserInfo

anonymousUserInfo: UserInfo

継承元 GcCommentConfig.anonymousUserInfo GcCommentが匿名投稿のユーザー情報を指定します。

avatarType

継承元 GcCommentConfig.avatarType ユーザーの画像の表示形式。

banner

banner: string

継承元 IGcCommentBannerConfig.banner バナーテキストまたはHTMLコンテンツ。

candidateReactionList

candidateReactionList: (string | CandidateReactionItem)[]

コメントに追加されるリアクションの候補リスト

candidateReactionListColumns

candidateReactionListColumns: number

継承元 IGcCommentAddReactionConfig.candidateReactionListColumns リアクションリストポップアップの列数

collapseRepliesMode

collapseRepliesMode: GcCommentCollapseRepliesMode

継承元 GcCommentConfig.collapseRepliesMode スレッドモードで、返信を折りたたみ/展開を表示できるかを指定します。

commentAction

commentAction: (string | GcCommentCommentActionItem)[]

継承元 GcCommentConfig.commentAction commentActionセクションに追加される項目。

commentActionButtonType

commentActionButtonType: GcCommentActionButtonType

継承元 GcCommentConfig.commentActionButtonType コメントアクションの表示形式(返信、編集、削除)。

commentActionItem

commentActionItem: {}

継承元 GcCommentConfig.commentActionItem commentActionセクションに追加するカスタム項目。

型宣言

commentCountFormatter

commentCountFormatter: (n: number): string | HTMLElement

継承元 GcCommentConfig.commentCountFormatter コメント数の書式を設定するためのコールバック

型宣言

    • (n: number): string | HTMLElement
    • 引数

      • n: number

      戻り値 string | HTMLElement

commentFormatter

commentFormatter: CommentFormatter

継承元 GcCommentConfig.commentFormatter コメントコンテンツの文字列をHTMLElementに処理するために使用されるメソッド。

commentInfoAction

commentInfoAction: (string | GcCommentCommentInfoActionItem)[]

継承元 GcCommentConfig.commentInfoAction commentInfoActionセクションに追加される項目。

commentInfoActionItem

commentInfoActionItem: {}

継承元 GcCommentConfig.commentInfoActionItem commentInfoActionセクションに追加されるカスタム項目。

型宣言

commentMode

commentMode: GcCommentMode

継承元 GcCommentConfig.commentMode コメントの表示形式。リスト、スレッド、チャットを指定します。

comments

comments: IComment[]

継承元 GcComment.comments

コメントを取得または設定します。

contextToolbar

contextToolbar: (string | GcCommentContextToolbar | ContextToolbarOption)[]

継承元 GcCommentConfig.contextToolbar チャットモードで表示するコンテキストツールバー項目を指定します

contextToolbarItem

contextToolbarItem: {}

継承元 GcCommentConfig.contextToolbarItem コンテキストツールバーの項目。

型宣言

copiedLinkSearchParams

copiedLinkSearchParams: (GcCommentLinkSearchParams | CustomLinkSearchParam)[]

コメントのリンクをコピーする際にURLに設定されるパラメータ。

dataSource

継承元 GcCommentConfig.dataSource バックエンドにリクエストする時に使用される設定。

editorConfig

editorConfig: EditorConfig

継承元 GcCommentConfig.editorConfig コメントエディタ設定を定義します。

enabled

enabled: boolean

継承元 GcComment.enabled

コントロールやオブジェクトを有効にするかどうかを示す値を設定します。

footer

継承元 GcCommentConfig.footer フッター項目の順番をカスタマイズします。

header

継承元 GcCommentConfig.header ヘッダー項目の順番をカスタマイズします。

headerFooterItems

headerFooterItems: {}

継承元 GcCommentConfig.headerFooterItems ヘッダーやフッターに追加するカスタム項目。

型宣言

height

height: number | string

継承元 GcComment.height

GcCommentの高さを取得または設定します。

keepDraft

keepDraft: boolean

継承元 GcCommentConfig.keepDraft ページのアンロード時に現在の編集内容を下書きに保存するかどうかを指定します

loadCommentCount

loadCommentCount: (): number | Promise<number>

継承元 GcCommentConfig.loadCommentCount コメント数を取得するコールバック

型宣言

    • (): number | Promise<number>
    • 戻り値 number | Promise < number >

loadCommentReplies

loadCommentReplies: (comment: IComment, loadedCount: number): LoadCommentsResult

継承元 GcCommentConfig.loadCommentReplies コメントの返信を読み込むためのコールバック。

型宣言

loadComments

継承元 GcCommentConfig.loadComments コメントを読み込むコールバック関数。

loadOnDemand

loadOnDemand: boolean

継承元 GcCommentConfig.loadOnDemand GcCommentが動的読み込みを利用するかどうかを指定します

loadReactionCount

loadReactionCount: (): number | Promise<number>

継承元 GcCommentConfig.loadReactionCount リアクション数を取得するコールバック

型宣言

    • (): number | Promise<number>
    • 戻り値 number | Promise < number >

loadRepliesOnDemand

loadRepliesOnDemand: boolean

継承元 GcCommentConfig.loadRepliesOnDemand スレッドモードで動的読み込みを利用するかどうかを指定します

loadUsersInfoHandler

loadUsersInfoHandler: LoadUsersCallback

継承元 GcCommentConfig.loadUsersInfoHandler ユーザー情報を読み込むコールバック関数。

maxHeight

maxHeight: number | string

継承元 GcComment.maxHeight

GcCommentの最大高を取得または設定します。

maxWidth

maxWidth: number | string

継承元 GcComment.maxWidth

GcCommentの最大幅を取得または設定します。

minHeight

minHeight: number | string

継承元 GcComment.minHeight

GcCommentの最小高を取得または設定します。

minWidth

minWidth: number | string

継承元 GcComment.minWidth

GcCommentの最小幅を取得または設定します。

openLinkMode

openLinkMode: OpenLinkMode

コメントリンクを開く方法。

pageSize

pageSize: number

継承元 GcCommentConfig.pageSize GcCommentがloadCommentsコールバックを呼び出すとき、またはサーバにリクエストするときの引数。

pastedLinkType

pastedLinkType: GcCommentPasteLinkType

GcRichTextEditorに貼り付けたリンクの表示形式

postTimeFormatter

postTimeFormatter: DateFormatter

継承元 IGcCommentCommentPostTimeConfig.postTimeFormatter 投稿日時の書式。

reactionCountFormatter

reactionCountFormatter: (n: number): string | HTMLElement

継承元 GcCommentConfig.reactionCountFormatter リアクション数の書式を設定するためのコールバック

型宣言

    • (n: number): string | HTMLElement
    • 引数

      • n: number

      戻り値 string | HTMLElement

readOnly

readOnly: boolean

継承元 GcComment.readOnly

コントロールを読み取り専用モードにするかどうかを設定します。

replyLevel

replyLevel: number

継承元 GcCommentConfig.replyLevel スレッドモードで返信の階層数を指定します。

showCurrentUserName

showCurrentUserName: boolean

継承元 GcCommentConfig.showCurrentUserName 現在のユーザーのユーザー名を表示するかどうかを指定します

showIcon

showIcon: boolean

継承元 GcCommentConfig.showIcon コメントを投稿したユーザーの画像を表示するかどうか

showLinkTypeContextToolbar

showLinkTypeContextToolbar: boolean

GcRichTextEditorでコンテキストメニューで表示形式を切り替えられるかどうか。

showOpenReactionListButton

showOpenReactionListButton: boolean

継承元 GcCommentConfigBase.showOpenReactionListButton リアクションボタンを表示するかどうか。

showZeroReaction

showZeroReaction: boolean

継承元 GcCommentConfigBase.showZeroReaction リアクション数が0場合にリアクションアイコンを表示するかどうか

sortInfo

継承元 IGcCommentSortConfig.sortInfo GcCommentが初回コメントを読み込んだ後のデフォルトのソート情報を指定します。

stickedComment

stickedComment: IComment | null

ピン留めされたコメントを取得または設定します。

updateTimeFormatter

updateTimeFormatter: DateFormatter

継承元 IGcCommentCommentUpdateTimeConfig.updateTimeFormatter 更新日時の書式。

userInfo

userInfo: UserInfo

継承元 GcComment.userInfo

ユーザー情報を取得または設定します。

warningMessage

warningMessage: IWarningMessage

継承元 GcCommentConfig.warningMessage 警告メッセージを設定するオブジェクト。

watermark

watermark: IWaterMark

継承元 GcCommentConfig.watermark ウォーターマークを設定するオブジェクト。

width

width: number | string

継承元 GcComment.width

コントロールの幅を取得または設定します。

メソッド

getNestedIMControl

  • 対応するコントロール オブジェクトを返却します。

    戻り値 GcComment

    対応するコントロール オブジェクト

イベント

afterExecuteCommand

afterExecuteCommand: (args: ExecuteCommandArgs): void

GcCommentでコマンドが実行した後に発生します

型宣言

afterFirstLoad

afterFirstLoad: (): void

GcCommentが初回コメントを読み込んだ後に発生します

型宣言

    • (): void
    • 戻り値 void

beforeExecuteCommand

beforeExecuteCommand: (args: ExecuteCommandArgs): void

GcCommentでコマンドが実行する前に発生します

型宣言

beforeFirstLoad

beforeFirstLoad: (): void

GcCommentが初回コメントを読み込む前に発生します

型宣言

    • (): void
    • 戻り値 void

createEditor

createEditor: (args: CreateEditorArgs): ICommentEditor

commentEditorが作成される前に発生します

commentEditorが作成される前に発生します。

型宣言

editorCreated

editorCreated: (args: EditorCreatedArgs): void

commentEditorが作成された後に発生します

型宣言

onInitialized

onInitialized: (sender: GcComment): void

コンポーネントの初期化が完了した後でイベントパラメータからコントロールを取得します。

型宣言

preprocessError

preprocessError: (args: PreprocessErrorArgs): void

dataSourceのconfig設定とGcCommentのデータフェッチにエラーが発生するときに発生します

型宣言