Preparing search index...
The search index is not available
@acrolinx/sidebar-sdk
@acrolinx/sidebar-sdk
AdapterInterface
Interface AdapterInterface
interface
AdapterInterface
{
extractContentForCheck
(
opts
:
ExtractContentForCheckOpts
,
)
:
ContentExtractionResult
|
Promise
<
ContentExtractionResult
>
;
getAutobindWrapperAttributes
()
:
AutobindWrapperAttributes
;
getContent
(
opts
:
ExtractContentForCheckOpts
)
:
string
;
getFormat
()
:
string
;
onInitFinished
(
result
:
InitResult
)
:
void
;
registerCheckCall
(
checkInfo
:
Check
)
:
void
;
registerCheckResult
(
checkResult
:
SuccessfulCheckResult
)
:
void
;
replaceRanges
(
checkId
:
string
,
matchesWithReplacement
:
MatchWithReplacement
[]
,
)
:
void
;
selectRanges
(
checkId
:
string
,
matches
:
Match
[]
)
:
void
;
}
Hierarchy (
View Summary
)
CommonAdapterInterface
AdapterInterface
Implemented by
AbstractRichtextEditorAdapter
AutoBindAdapter
CodeMirror6Adapter
CodeMirrorAdapter
InputAdapter
MultiEditorAdapter
Index
Methods
extract
Content
For
Check
get
Autobind
Wrapper
Attributes?
get
Content?
get
Format?
on
Init
Finished?
register
Check
Call
register
Check
Result
replace
Ranges
select
Ranges
Methods
extract
Content
For
Check
extractContentForCheck
(
opts
:
ExtractContentForCheckOpts
,
)
:
ContentExtractionResult
|
Promise
<
ContentExtractionResult
>
Parameters
opts
:
ExtractContentForCheckOpts
Returns
ContentExtractionResult
|
Promise
<
ContentExtractionResult
>
Optional
get
Autobind
Wrapper
Attributes
getAutobindWrapperAttributes
()
:
AutobindWrapperAttributes
Returns
AutobindWrapperAttributes
Optional
get
Content
getContent
(
opts
:
ExtractContentForCheckOpts
)
:
string
Parameters
opts
:
ExtractContentForCheckOpts
Returns
string
Optional
get
Format
getFormat
()
:
string
Returns
string
Optional
on
Init
Finished
onInitFinished
(
result
:
InitResult
)
:
void
Parameters
result
:
InitResult
Returns
void
register
Check
Call
registerCheckCall
(
checkInfo
:
Check
)
:
void
Parameters
checkInfo
:
Check
Returns
void
register
Check
Result
registerCheckResult
(
checkResult
:
SuccessfulCheckResult
)
:
void
Parameters
checkResult
:
SuccessfulCheckResult
Returns
void
replace
Ranges
replaceRanges
(
checkId
:
string
,
matchesWithReplacement
:
MatchWithReplacement
[]
,
)
:
void
Parameters
checkId
:
string
matchesWithReplacement
:
MatchWithReplacement
[]
Returns
void
select
Ranges
selectRanges
(
checkId
:
string
,
matches
:
Match
[]
)
:
void
Parameters
checkId
:
string
matches
:
Match
[]
Returns
void
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
Methods
extract
Content
For
Check
get
Autobind
Wrapper
Attributes
get
Content
get
Format
on
Init
Finished
register
Check
Call
register
Check
Result
replace
Ranges
select
Ranges
@acrolinx/sidebar-sdk
Loading...