type stringclasses 7
values | content stringlengths 4 9.55k | repo stringlengths 7 96 | path stringlengths 4 178 | language stringclasses 1
value |
|---|---|---|---|---|
ArrowFunction |
(r: HttpResponse<any>) => {
return r as StrictHttpResponse<VerifySecurityPhraseResponse>;
} | SodhiA1/embc-ess-mod | responders/src/UI/embc-responder/src/app/core/api/services/registrations.service.ts | TypeScript |
ArrowFunction |
(r: StrictHttpResponse<VerifySecurityPhraseResponse>) => r.body as VerifySecurityPhraseResponse | SodhiA1/embc-ess-mod | responders/src/UI/embc-responder/src/app/core/api/services/registrations.service.ts | TypeScript |
ArrowFunction |
(r: HttpResponse<any>) => {
return r as StrictHttpResponse<Blob>;
} | SodhiA1/embc-ess-mod | responders/src/UI/embc-responder/src/app/core/api/services/registrations.service.ts | TypeScript |
ArrowFunction |
(r: StrictHttpResponse<Blob>) => r.body as Blob | SodhiA1/embc-ess-mod | responders/src/UI/embc-responder/src/app/core/api/services/registrations.service.ts | TypeScript |
ArrowFunction |
(r: HttpResponse<any>) => {
return r as StrictHttpResponse<SearchResults>;
} | SodhiA1/embc-ess-mod | responders/src/UI/embc-responder/src/app/core/api/services/registrations.service.ts | TypeScript |
ArrowFunction |
(r: StrictHttpResponse<SearchResults>) => r.body as SearchResults | SodhiA1/embc-ess-mod | responders/src/UI/embc-responder/src/app/core/api/services/registrations.service.ts | TypeScript |
ArrowFunction |
(r: HttpResponse<any>) => {
return r as StrictHttpResponse<Array<RegistrantProfile>>;
} | SodhiA1/embc-ess-mod | responders/src/UI/embc-responder/src/app/core/api/services/registrations.service.ts | TypeScript |
ArrowFunction |
(r: StrictHttpResponse<Array<RegistrantProfile>>) => r.body as Array<RegistrantProfile> | SodhiA1/embc-ess-mod | responders/src/UI/embc-responder/src/app/core/api/services/registrations.service.ts | TypeScript |
ArrowFunction |
(r: HttpResponse<any>) => {
return r as StrictHttpResponse<Array<EvacuationFileSearchResult>>;
} | SodhiA1/embc-ess-mod | responders/src/UI/embc-responder/src/app/core/api/services/registrations.service.ts | TypeScript |
ArrowFunction |
(r: StrictHttpResponse<Array<EvacuationFileSearchResult>>) => r.body as Array<EvacuationFileSearchResult> | SodhiA1/embc-ess-mod | responders/src/UI/embc-responder/src/app/core/api/services/registrations.service.ts | TypeScript |
MethodDeclaration | /**
* Gets a Registrant Profile.
*
*
*
* This method provides access to the full `HttpResponse`, allowing access to response headers.
* To access only the response body, use `registrationsGetRegistrantProfile()` instead.
*
* This method doesn't expect any request body.
*/
registrationsGetRegi... | SodhiA1/embc-ess-mod | responders/src/UI/embc-responder/src/app/core/api/services/registrations.service.ts | TypeScript |
MethodDeclaration | /**
* Gets a Registrant Profile.
*
*
*
* This method provides access to only to the response body.
* To access the full response (for headers, for example), `registrationsGetRegistrantProfile$Response()` instead.
*
* This method doesn't expect any request body.
*/
registrationsGetRegistrantPr... | SodhiA1/embc-ess-mod | responders/src/UI/embc-responder/src/app/core/api/services/registrations.service.ts | TypeScript |
MethodDeclaration | /**
* Updates a Registrant Profile.
*
*
*
* This method provides access to the full `HttpResponse`, allowing access to response headers.
* To access only the response body, use `registrationsUpdateRegistrantProfile()` instead.
*
* This method sends `application/json` and handles request body of ... | SodhiA1/embc-ess-mod | responders/src/UI/embc-responder/src/app/core/api/services/registrations.service.ts | TypeScript |
MethodDeclaration | /**
* Updates a Registrant Profile.
*
*
*
* This method provides access to only to the response body.
* To access the full response (for headers, for example), `registrationsUpdateRegistrantProfile$Response()` instead.
*
* This method sends `application/json` and handles request body of type `ap... | SodhiA1/embc-ess-mod | responders/src/UI/embc-responder/src/app/core/api/services/registrations.service.ts | TypeScript |
MethodDeclaration | /**
* Creates a Registrant Profile.
*
*
*
* This method provides access to the full `HttpResponse`, allowing access to response headers.
* To access only the response body, use `registrationsCreateRegistrantProfile()` instead.
*
* This method sends `application/json` and handles request body of ... | SodhiA1/embc-ess-mod | responders/src/UI/embc-responder/src/app/core/api/services/registrations.service.ts | TypeScript |
MethodDeclaration | /**
* Creates a Registrant Profile.
*
*
*
* This method provides access to only to the response body.
* To access the full response (for headers, for example), `registrationsCreateRegistrantProfile$Response()` instead.
*
* This method sends `application/json` and handles request body of type `ap... | SodhiA1/embc-ess-mod | responders/src/UI/embc-responder/src/app/core/api/services/registrations.service.ts | TypeScript |
MethodDeclaration | /**
* Sets the Registrant Profile Verified flag to the supplied value.
*
*
*
* This method provides access to the full `HttpResponse`, allowing access to response headers.
* To access only the response body, use `registrationsSetRegistrantVerified()` instead.
*
* This method doesn't expect any r... | SodhiA1/embc-ess-mod | responders/src/UI/embc-responder/src/app/core/api/services/registrations.service.ts | TypeScript |
MethodDeclaration | /**
* Sets the Registrant Profile Verified flag to the supplied value.
*
*
*
* This method provides access to only to the response body.
* To access the full response (for headers, for example), `registrationsSetRegistrantVerified$Response()` instead.
*
* This method doesn't expect any request b... | SodhiA1/embc-ess-mod | responders/src/UI/embc-responder/src/app/core/api/services/registrations.service.ts | TypeScript |
MethodDeclaration | /**
* Get security questions for a registrant.
*
*
*
* This method provides access to the full `HttpResponse`, allowing access to response headers.
* To access only the response body, use `registrationsGetSecurityQuestions()` instead.
*
* This method doesn't expect any request body.
*/
regist... | SodhiA1/embc-ess-mod | responders/src/UI/embc-responder/src/app/core/api/services/registrations.service.ts | TypeScript |
MethodDeclaration | /**
* Get security questions for a registrant.
*
*
*
* This method provides access to only to the response body.
* To access the full response (for headers, for example), `registrationsGetSecurityQuestions$Response()` instead.
*
* This method doesn't expect any request body.
*/
registrationsG... | SodhiA1/embc-ess-mod | responders/src/UI/embc-responder/src/app/core/api/services/registrations.service.ts | TypeScript |
MethodDeclaration | /**
* verify answers for security questions.
*
*
*
* This method provides access to the full `HttpResponse`, allowing access to response headers.
* To access only the response body, use `registrationsVerifySecurityQuestions()` instead.
*
* This method sends `application/json` and handles request... | SodhiA1/embc-ess-mod | responders/src/UI/embc-responder/src/app/core/api/services/registrations.service.ts | TypeScript |
MethodDeclaration | /**
* verify answers for security questions.
*
*
*
* This method provides access to only to the response body.
* To access the full response (for headers, for example), `registrationsVerifySecurityQuestions$Response()` instead.
*
* This method sends `application/json` and handles request body of... | SodhiA1/embc-ess-mod | responders/src/UI/embc-responder/src/app/core/api/services/registrations.service.ts | TypeScript |
MethodDeclaration | /**
* Gets a File.
*
*
*
* This method provides access to the full `HttpResponse`, allowing access to response headers.
* To access only the response body, use `registrationsGetFile()` instead.
*
* This method doesn't expect any request body.
*/
registrationsGetFile$Response(params: {
/*... | SodhiA1/embc-ess-mod | responders/src/UI/embc-responder/src/app/core/api/services/registrations.service.ts | TypeScript |
MethodDeclaration | /**
* Gets a File.
*
*
*
* This method provides access to only to the response body.
* To access the full response (for headers, for example), `registrationsGetFile$Response()` instead.
*
* This method doesn't expect any request body.
*/
registrationsGetFile(params: {
/**
* fileId
... | SodhiA1/embc-ess-mod | responders/src/UI/embc-responder/src/app/core/api/services/registrations.service.ts | TypeScript |
MethodDeclaration | /**
* Updates a File.
*
*
*
* This method provides access to the full `HttpResponse`, allowing access to response headers.
* To access only the response body, use `registrationsUpdateFile()` instead.
*
* This method sends `application/json` and handles request body of type `application/json`.
... | SodhiA1/embc-ess-mod | responders/src/UI/embc-responder/src/app/core/api/services/registrations.service.ts | TypeScript |
MethodDeclaration | /**
* Updates a File.
*
*
*
* This method provides access to only to the response body.
* To access the full response (for headers, for example), `registrationsUpdateFile$Response()` instead.
*
* This method sends `application/json` and handles request body of type `application/json`.
*/
regi... | SodhiA1/embc-ess-mod | responders/src/UI/embc-responder/src/app/core/api/services/registrations.service.ts | TypeScript |
MethodDeclaration | /**
* Search files.
*
*
*
* This method provides access to the full `HttpResponse`, allowing access to response headers.
* To access only the response body, use `registrationsGetFiles()` instead.
*
* This method doesn't expect any request body.
*/
registrationsGetFiles$Response(params?: {
... | SodhiA1/embc-ess-mod | responders/src/UI/embc-responder/src/app/core/api/services/registrations.service.ts | TypeScript |
MethodDeclaration | /**
* Search files.
*
*
*
* This method provides access to only to the response body.
* To access the full response (for headers, for example), `registrationsGetFiles$Response()` instead.
*
* This method doesn't expect any request body.
*/
registrationsGetFiles(params?: {
/**
* file... | SodhiA1/embc-ess-mod | responders/src/UI/embc-responder/src/app/core/api/services/registrations.service.ts | TypeScript |
MethodDeclaration | /**
* Creates a File.
*
*
*
* This method provides access to the full `HttpResponse`, allowing access to response headers.
* To access only the response body, use `registrationsCreateFile()` instead.
*
* This method sends `application/json` and handles request body of type `application/json`.
... | SodhiA1/embc-ess-mod | responders/src/UI/embc-responder/src/app/core/api/services/registrations.service.ts | TypeScript |
MethodDeclaration | /**
* Creates a File.
*
*
*
* This method provides access to only to the response body.
* To access the full response (for headers, for example), `registrationsCreateFile$Response()` instead.
*
* This method sends `application/json` and handles request body of type `application/json`.
*/
regi... | SodhiA1/embc-ess-mod | responders/src/UI/embc-responder/src/app/core/api/services/registrations.service.ts | TypeScript |
MethodDeclaration | /**
* Create a File Note.
*
*
*
* This method provides access to the full `HttpResponse`, allowing access to response headers.
* To access only the response body, use `registrationsCreateFileNote()` instead.
*
* This method sends `application/json` and handles request body of type `application/j... | SodhiA1/embc-ess-mod | responders/src/UI/embc-responder/src/app/core/api/services/registrations.service.ts | TypeScript |
MethodDeclaration | /**
* Create a File Note.
*
*
*
* This method provides access to only to the response body.
* To access the full response (for headers, for example), `registrationsCreateFileNote$Response()` instead.
*
* This method sends `application/json` and handles request body of type `application/json`.
... | SodhiA1/embc-ess-mod | responders/src/UI/embc-responder/src/app/core/api/services/registrations.service.ts | TypeScript |
MethodDeclaration | /**
* Updates a File Note's content.
*
*
*
* This method provides access to the full `HttpResponse`, allowing access to response headers.
* To access only the response body, use `registrationsUpdateFileNoteContent()` instead.
*
* This method sends `application/json` and handles request body of t... | SodhiA1/embc-ess-mod | responders/src/UI/embc-responder/src/app/core/api/services/registrations.service.ts | TypeScript |
MethodDeclaration | /**
* Updates a File Note's content.
*
*
*
* This method provides access to only to the response body.
* To access the full response (for headers, for example), `registrationsUpdateFileNoteContent$Response()` instead.
*
* This method sends `application/json` and handles request body of type `app... | SodhiA1/embc-ess-mod | responders/src/UI/embc-responder/src/app/core/api/services/registrations.service.ts | TypeScript |
MethodDeclaration | /**
* Sets a File Note's isHidden field.
*
*
*
* This method provides access to the full `HttpResponse`, allowing access to response headers.
* To access only the response body, use `registrationsSetFileNoteHiddenStatus()` instead.
*
* This method doesn't expect any request body.
*/
registrat... | SodhiA1/embc-ess-mod | responders/src/UI/embc-responder/src/app/core/api/services/registrations.service.ts | TypeScript |
MethodDeclaration | /**
* Sets a File Note's isHidden field.
*
*
*
* This method provides access to only to the response body.
* To access the full response (for headers, for example), `registrationsSetFileNoteHiddenStatus$Response()` instead.
*
* This method doesn't expect any request body.
*/
registrationsSetF... | SodhiA1/embc-ess-mod | responders/src/UI/embc-responder/src/app/core/api/services/registrations.service.ts | TypeScript |
MethodDeclaration | /**
* get the security phrase of an evacuation file.
*
*
*
* This method provides access to the full `HttpResponse`, allowing access to response headers.
* To access only the response body, use `registrationsGetSecurityPhrase()` instead.
*
* This method doesn't expect any request body.
*/
reg... | SodhiA1/embc-ess-mod | responders/src/UI/embc-responder/src/app/core/api/services/registrations.service.ts | TypeScript |
MethodDeclaration | /**
* get the security phrase of an evacuation file.
*
*
*
* This method provides access to only to the response body.
* To access the full response (for headers, for example), `registrationsGetSecurityPhrase$Response()` instead.
*
* This method doesn't expect any request body.
*/
registratio... | SodhiA1/embc-ess-mod | responders/src/UI/embc-responder/src/app/core/api/services/registrations.service.ts | TypeScript |
MethodDeclaration | /**
* verify an evacuation file's security phrase.
*
*
*
* This method provides access to the full `HttpResponse`, allowing access to response headers.
* To access only the response body, use `registrationsVerifySecurityPhrase()` instead.
*
* This method sends `application/json` and handles requ... | SodhiA1/embc-ess-mod | responders/src/UI/embc-responder/src/app/core/api/services/registrations.service.ts | TypeScript |
MethodDeclaration | /**
* verify an evacuation file's security phrase.
*
*
*
* This method provides access to only to the response body.
* To access the full response (for headers, for example), `registrationsVerifySecurityPhrase$Response()` instead.
*
* This method sends `application/json` and handles request body... | SodhiA1/embc-ess-mod | responders/src/UI/embc-responder/src/app/core/api/services/registrations.service.ts | TypeScript |
MethodDeclaration | /**
* This method provides access to the full `HttpResponse`, allowing access to response headers.
* To access only the response body, use `registrationsLinkRegistrantToHouseholdMember()` instead.
*
* This method sends `application/json` and handles request body of type `application/json`.
*/
registratio... | SodhiA1/embc-ess-mod | responders/src/UI/embc-responder/src/app/core/api/services/registrations.service.ts | TypeScript |
MethodDeclaration | /**
* This method provides access to only to the response body.
* To access the full response (for headers, for example), `registrationsLinkRegistrantToHouseholdMember$Response()` instead.
*
* This method sends `application/json` and handles request body of type `application/json`.
*/
registrationsLinkRe... | SodhiA1/embc-ess-mod | responders/src/UI/embc-responder/src/app/core/api/services/registrations.service.ts | TypeScript |
MethodDeclaration | /**
* Search evacuation files and profiles matching the search parameters.
*
*
*
* This method provides access to the full `HttpResponse`, allowing access to response headers.
* To access only the response body, use `registrationsSearch()` instead.
*
* This method doesn't expect any request body... | SodhiA1/embc-ess-mod | responders/src/UI/embc-responder/src/app/core/api/services/registrations.service.ts | TypeScript |
MethodDeclaration | /**
* Search evacuation files and profiles matching the search parameters.
*
*
*
* This method provides access to only to the response body.
* To access the full response (for headers, for example), `registrationsSearch$Response()` instead.
*
* This method doesn't expect any request body.
*/
... | SodhiA1/embc-ess-mod | responders/src/UI/embc-responder/src/app/core/api/services/registrations.service.ts | TypeScript |
MethodDeclaration | /**
* This method provides access to the full `HttpResponse`, allowing access to response headers.
* To access only the response body, use `registrationsSearchMatchingRegistrants()` instead.
*
* This method doesn't expect any request body.
*/
registrationsSearchMatchingRegistrants$Response(params?: {
... | SodhiA1/embc-ess-mod | responders/src/UI/embc-responder/src/app/core/api/services/registrations.service.ts | TypeScript |
MethodDeclaration | /**
* This method provides access to only to the response body.
* To access the full response (for headers, for example), `registrationsSearchMatchingRegistrants$Response()` instead.
*
* This method doesn't expect any request body.
*/
registrationsSearchMatchingRegistrants(params?: {
firstName?: stri... | SodhiA1/embc-ess-mod | responders/src/UI/embc-responder/src/app/core/api/services/registrations.service.ts | TypeScript |
MethodDeclaration | /**
* This method provides access to the full `HttpResponse`, allowing access to response headers.
* To access only the response body, use `registrationsSearchMatchingEvacuationFiles()` instead.
*
* This method doesn't expect any request body.
*/
registrationsSearchMatchingEvacuationFiles$Response(params... | SodhiA1/embc-ess-mod | responders/src/UI/embc-responder/src/app/core/api/services/registrations.service.ts | TypeScript |
MethodDeclaration | /**
* This method provides access to only to the response body.
* To access the full response (for headers, for example), `registrationsSearchMatchingEvacuationFiles$Response()` instead.
*
* This method doesn't expect any request body.
*/
registrationsSearchMatchingEvacuationFiles(params?: {
firstNam... | SodhiA1/embc-ess-mod | responders/src/UI/embc-responder/src/app/core/api/services/registrations.service.ts | TypeScript |
InterfaceDeclaration |
export interface ISentinelValidatorDelegate {
(): ISentinelValidatorFn;
} | yield-wf/sentinel | src/interfaces/sentinel-validator-delegate.ts | TypeScript |
ClassDeclaration |
@Component({
selector: 'ngx-update-timetables',
templateUrl: './update-timetables.component.html',
styleUrls: ['./update-timetables.component.scss']
})
export class UpdateTimetablesComponent implements OnInit {
constructor() { }
ngOnInit() {
}
} | vinayaknode2017/TTM | src/app/pages/timetables/update-timetables/update-timetables.component.ts | TypeScript |
ClassDeclaration |
@Schema({ timestamps: true, _id: false })
export class Rating {
@Prop()
rate: number;
@Prop()
comments: string;
@Prop()
accounted: boolean;
@Prop()
createdAt: Date;
} | LuisAlbertoPerezDeLaCruz/parolie-api | src/reservations/schemas/rating.schema.ts | TypeScript |
ArrowFunction |
() => {
observable.logUnsubscribedFrame(index);
} | Guardiannw/RxJS | src/testing/ColdObservable.ts | TypeScript |
ArrowFunction |
({message, subscriber}) => { message.notification.observe(subscriber); } | Guardiannw/RxJS | src/testing/ColdObservable.ts | TypeScript |
ClassDeclaration |
export class ColdObservable<T> extends Observable<T> implements SubscriptionLoggable {
public subscriptions: SubscriptionLog[] = [];
scheduler: Scheduler;
logSubscribedFrame: () => number;
logUnsubscribedFrame: (index: number) => void;
constructor(public messages: TestMessage[],
scheduler: Sch... | Guardiannw/RxJS | src/testing/ColdObservable.ts | TypeScript |
MethodDeclaration |
scheduleMessages(subscriber: Subscriber<any>) {
const messagesLength = this.messages.length;
for (let i = 0; i < messagesLength; i++) {
const message = this.messages[i];
subscriber.add(
this.scheduler.schedule(({message, subscriber}) => { message.notification.observe(subscriber); },
... | Guardiannw/RxJS | src/testing/ColdObservable.ts | TypeScript |
ArrowFunction |
(name: string): string | undefined => {
let result: string | undefined = undefined;
if (typeof this.options.colorMap === 'function') {
result = this.options.colorMap(name);
}
if (!result) result = defaultColorMap(name);
return result;
} | zeyad-ahmad-aql/mathlive | src/editor-mathfield/mathfield-private.ts | TypeScript |
ArrowFunction |
(name: string): string | undefined => {
let result: string | undefined = undefined;
if (typeof this.options.backgroundColorMap === 'function') {
result = this.options.backgroundColorMap(name);
}
if (!result && typeof this.options.colorMap === 'function') {
result = this.options.... | zeyad-ahmad-aql/mathlive | src/editor-mathfield/mathfield-private.ts | TypeScript |
ArrowFunction |
(command) => this.executeCommand(command) | zeyad-ahmad-aql/mathlive | src/editor-mathfield/mathfield-private.ts | TypeScript |
ArrowFunction |
(text: string): void => onTypedText(this, text) | zeyad-ahmad-aql/mathlive | src/editor-mathfield/mathfield-private.ts | TypeScript |
ArrowFunction |
(ev: ClipboardEvent) => {
// Ignore if in read-only mode
if (this.options.readOnly) {
this.model.announce('plonk');
return;
}
// Snapshot the undo state
this.snapshot();
// Copy to the clipboard
ModeEditor.onCopy(this, ev);... | zeyad-ahmad-aql/mathlive | src/editor-mathfield/mathfield-private.ts | TypeScript |
ArrowFunction |
() => {
deleteRange(this.model, range(this.model.selection));
requestUpdate(this);
} | zeyad-ahmad-aql/mathlive | src/editor-mathfield/mathfield-private.ts | TypeScript |
ArrowFunction |
(ev: ClipboardEvent) => ModeEditor.onCopy(this, ev) | zeyad-ahmad-aql/mathlive | src/editor-mathfield/mathfield-private.ts | TypeScript |
ArrowFunction |
(ev: ClipboardEvent) => {
// Ignore if in read-only mode
if (this.options.readOnly) {
this.model.announce('plonk');
return;
}
ModeEditor.onPaste(this.model.at(this.model.position).mode, this, ev);
} | zeyad-ahmad-aql/mathlive | src/editor-mathfield/mathfield-private.ts | TypeScript |
ArrowFunction |
(keystroke, event) => onKeystroke(this, keystroke, event) | zeyad-ahmad-aql/mathlive | src/editor-mathfield/mathfield-private.ts | TypeScript |
ArrowFunction |
(composition: string) =>
this.onCompositionStart(composition) | zeyad-ahmad-aql/mathlive | src/editor-mathfield/mathfield-private.ts | TypeScript |
ArrowFunction |
(composition: string) =>
this.onCompositionUpdate(composition) | zeyad-ahmad-aql/mathlive | src/editor-mathfield/mathfield-private.ts | TypeScript |
ArrowFunction |
(composition: string) =>
this.onCompositionEnd(composition) | zeyad-ahmad-aql/mathlive | src/editor-mathfield/mathfield-private.ts | TypeScript |
ArrowFunction |
(_sender: ModelPrivate): void =>
this.options.onContentDidChange(this) | zeyad-ahmad-aql/mathlive | src/editor-mathfield/mathfield-private.ts | TypeScript |
ArrowFunction |
(_sender: ModelPrivate): void =>
this._onSelectionDidChange() | zeyad-ahmad-aql/mathlive | src/editor-mathfield/mathfield-private.ts | TypeScript |
ArrowFunction |
(): void => this.options.onContentWillChange(this) | zeyad-ahmad-aql/mathlive | src/editor-mathfield/mathfield-private.ts | TypeScript |
ArrowFunction |
(): void =>
this.options.onSelectionWillChange(this) | zeyad-ahmad-aql/mathlive | src/editor-mathfield/mathfield-private.ts | TypeScript |
ArrowFunction |
(
_sender: ModelPrivate,
placeholderId: string
): void => this.options.onPlaceholderDidChange(this, placeholderId) | zeyad-ahmad-aql/mathlive | src/editor-mathfield/mathfield-private.ts | TypeScript |
ArrowFunction |
(
_sender: Mathfield,
command: string,
previousPosition: number,
atoms: Atom[]
): void =>
this.options.onAnnounce?.(this, command, previousPosition, atoms) | zeyad-ahmad-aql/mathlive | src/editor-mathfield/mathfield-private.ts | TypeScript |
ArrowFunction |
(_sender, direction): boolean =>
this.options.onMoveOutOf(this, direction) | zeyad-ahmad-aql/mathlive | src/editor-mathfield/mathfield-private.ts | TypeScript |
ArrowFunction |
(_sender, direction): boolean =>
this.options.onTabOutOf(this, direction) | zeyad-ahmad-aql/mathlive | src/editor-mathfield/mathfield-private.ts | TypeScript |
ArrowFunction |
(_sender: ModelPrivate) =>
this.options.onContentDidChange(this) | zeyad-ahmad-aql/mathlive | src/editor-mathfield/mathfield-private.ts | TypeScript |
ArrowFunction |
(_sender: ModelPrivate) =>
this._onSelectionDidChange() | zeyad-ahmad-aql/mathlive | src/editor-mathfield/mathfield-private.ts | TypeScript |
ArrowFunction |
() => this.options.onContentWillChange(this) | zeyad-ahmad-aql/mathlive | src/editor-mathfield/mathfield-private.ts | TypeScript |
ArrowFunction |
() => this.options.onSelectionWillChange(this) | zeyad-ahmad-aql/mathlive | src/editor-mathfield/mathfield-private.ts | TypeScript |
ArrowFunction |
(_sender, placeholderId) =>
this.options.onPlaceholderDidChange(this, placeholderId) | zeyad-ahmad-aql/mathlive | src/editor-mathfield/mathfield-private.ts | TypeScript |
ArrowFunction |
(
_sender: Mathfield,
command: string,
previousPosition: number | undefined,
atoms: Atom[]
) => this.options.onAnnounce?.(this, command, previousPosition, atoms) | zeyad-ahmad-aql/mathlive | src/editor-mathfield/mathfield-private.ts | TypeScript |
ArrowFunction |
(_sender, direction) =>
this.options.onMoveOutOf(this, direction) | zeyad-ahmad-aql/mathlive | src/editor-mathfield/mathfield-private.ts | TypeScript |
ArrowFunction |
(_sender, direction) => this.options.onTabOutOf(this, direction) | zeyad-ahmad-aql/mathlive | src/editor-mathfield/mathfield-private.ts | TypeScript |
ArrowFunction |
() => render(this) | zeyad-ahmad-aql/mathlive | src/editor-mathfield/mathfield-private.ts | TypeScript |
ArrowFunction |
(e) => {
if (typeof this.options.onError === 'function') {
this.options.onError({
code: 'invalid-keybinding',
arg: e.join('\n'),
});
}
console.error(e.join('\n'));
} | zeyad-ahmad-aql/mathlive | src/editor-mathfield/mathfield-private.ts | TypeScript |
ArrowFunction |
(_sender: Mathfield, command, previousPosition, atoms) =>
this.options.onAnnounce?.(this, command, previousPosition, atoms) | zeyad-ahmad-aql/mathlive | src/editor-mathfield/mathfield-private.ts | TypeScript |
ArrowFunction |
() => isValidMathfield(this) && this.onResize() | zeyad-ahmad-aql/mathlive | src/editor-mathfield/mathfield-private.ts | TypeScript |
ArrowFunction |
(x) => x?.release() | zeyad-ahmad-aql/mathlive | src/editor-mathfield/mathfield-private.ts | TypeScript |
ArrowFunction |
() => {
this.resetKeystrokeBuffer();
} | zeyad-ahmad-aql/mathlive | src/editor-mathfield/mathfield-private.ts | TypeScript |
ArrowFunction |
(): boolean => {
let contentChanged = false;
this.resetKeystrokeBuffer();
// Suppress (temporarily) smart mode if switching to/from text or math
// This prevents switching to/from command mode from suppressing smart mode.
this.smartModeSuppressed =
/text|math/.test(thi... | zeyad-ahmad-aql/mathlive | src/editor-mathfield/mathfield-private.ts | TypeScript |
ArrowFunction |
(x) => {
x.isError = false;
} | zeyad-ahmad-aql/mathlive | src/editor-mathfield/mathfield-private.ts | TypeScript |
ArrowFunction |
() => {
if (options.range === undefined) {
this.model.selection.ranges.forEach((range) =>
applyStyle(this.model, range, style, { operation })
);
} else {
applyStyle(this.model, options.range, style, { operation });
}
} | zeyad-ahmad-aql/mathlive | src/editor-mathfield/mathfield-private.ts | TypeScript |
ArrowFunction |
(range) =>
applyStyle(this.model, range, style, { operation }) | zeyad-ahmad-aql/mathlive | src/editor-mathfield/mathfield-private.ts | TypeScript |
ArrowFunction |
(v) => {
const container = this.field?.querySelector(
`[data-placeholder-id=${v.atom.placeholderId}]`
) as HTMLElement;
if (container) {
const placeholderPosition = container.getBoundingClientRect();
const parentPosition = this.field?.getBoundingClientRect();
const sc... | zeyad-ahmad-aql/mathlive | src/editor-mathfield/mathfield-private.ts | TypeScript |
ArrowFunction |
(mf, reason): void => {
this.virtualKeyboard?.executeCommand([
'onUndoStateChanged',
this.canUndo(),
this.canRedo(),
]);
this.options.onUndoStateDidChange(mf, reason);
} | zeyad-ahmad-aql/mathlive | src/editor-mathfield/mathfield-private.ts | TypeScript |
ArrowFunction |
(mf, reason): void => {
this.virtualKeyboard!.executeCommand([
'onUndoStateChanged',
this.canUndo(),
this.canRedo(),
]);
this.options.onUndoStateDidChange(mf, reason);
} | zeyad-ahmad-aql/mathlive | src/editor-mathfield/mathfield-private.ts | TypeScript |
ArrowFunction |
() => {
render(this); // Recalculate the position of the caret
// Synchronize the location and style of textarea
// so that the IME candidate window can align with the composition
const caretPoint = getCaretPoint(this.field!);
if (!caretPoint) return;
this.keyboardDelegate!.moveTo(c... | zeyad-ahmad-aql/mathlive | src/editor-mathfield/mathfield-private.ts | TypeScript |
MethodDeclaration |
setOptions(config: Partial<MathfieldOptionsPrivate>): void {
this.options = updateOptions(this.options, config);
this.model.setListeners({
onContentDidChange: (_sender: ModelPrivate) =>
this.options.onContentDidChange(this),
onSelectionDidChange: (_sender: ModelPrivate) =>
this._onS... | zeyad-ahmad-aql/mathlive | src/editor-mathfield/mathfield-private.ts | TypeScript |
MethodDeclaration |
getOptions<K extends keyof MathfieldOptionsPrivate>(
keys: K[]
): Pick<MathfieldOptionsPrivate, K>; | zeyad-ahmad-aql/mathlive | src/editor-mathfield/mathfield-private.ts | TypeScript |
MethodDeclaration |
getOptions(): MathfieldOptionsPrivate; | zeyad-ahmad-aql/mathlive | src/editor-mathfield/mathfield-private.ts | TypeScript |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.