type stringclasses 7
values | content stringlengths 4 9.55k | repo stringlengths 7 96 | path stringlengths 4 178 | language stringclasses 1
value |
|---|---|---|---|---|
MethodDeclaration |
getOuterHTML(el: any): string; | anttisirkiafuturice/angular2todo | node_modules/angular2/es6/dev/src/dom/dom_adapter.d.ts | TypeScript |
MethodDeclaration |
nodeName(node: any): string; | anttisirkiafuturice/angular2todo | node_modules/angular2/es6/dev/src/dom/dom_adapter.d.ts | TypeScript |
MethodDeclaration |
nodeValue(node: any): string; | anttisirkiafuturice/angular2todo | node_modules/angular2/es6/dev/src/dom/dom_adapter.d.ts | TypeScript |
MethodDeclaration |
type(node: any): string; | anttisirkiafuturice/angular2todo | node_modules/angular2/es6/dev/src/dom/dom_adapter.d.ts | TypeScript |
MethodDeclaration |
content(node: any): any; | anttisirkiafuturice/angular2todo | node_modules/angular2/es6/dev/src/dom/dom_adapter.d.ts | TypeScript |
MethodDeclaration |
firstChild(el: any): Node; | anttisirkiafuturice/angular2todo | node_modules/angular2/es6/dev/src/dom/dom_adapter.d.ts | TypeScript |
MethodDeclaration |
nextSibling(el: any): Node; | anttisirkiafuturice/angular2todo | node_modules/angular2/es6/dev/src/dom/dom_adapter.d.ts | TypeScript |
MethodDeclaration |
parentElement(el: any): Node; | anttisirkiafuturice/angular2todo | node_modules/angular2/es6/dev/src/dom/dom_adapter.d.ts | TypeScript |
MethodDeclaration |
childNodes(el: any): List<Node>; | anttisirkiafuturice/angular2todo | node_modules/angular2/es6/dev/src/dom/dom_adapter.d.ts | TypeScript |
MethodDeclaration |
childNodesAsList(el: any): List<Node>; | anttisirkiafuturice/angular2todo | node_modules/angular2/es6/dev/src/dom/dom_adapter.d.ts | TypeScript |
MethodDeclaration |
clearNodes(el: any): void; | anttisirkiafuturice/angular2todo | node_modules/angular2/es6/dev/src/dom/dom_adapter.d.ts | TypeScript |
MethodDeclaration |
appendChild(el: any, node: any): void; | anttisirkiafuturice/angular2todo | node_modules/angular2/es6/dev/src/dom/dom_adapter.d.ts | TypeScript |
MethodDeclaration |
removeChild(el: any, node: any): void; | anttisirkiafuturice/angular2todo | node_modules/angular2/es6/dev/src/dom/dom_adapter.d.ts | TypeScript |
MethodDeclaration |
replaceChild(el: any, newNode: any, oldNode: any): void; | anttisirkiafuturice/angular2todo | node_modules/angular2/es6/dev/src/dom/dom_adapter.d.ts | TypeScript |
MethodDeclaration |
remove(el: any): Node; | anttisirkiafuturice/angular2todo | node_modules/angular2/es6/dev/src/dom/dom_adapter.d.ts | TypeScript |
MethodDeclaration |
insertBefore(el: any, node: any): void; | anttisirkiafuturice/angular2todo | node_modules/angular2/es6/dev/src/dom/dom_adapter.d.ts | TypeScript |
MethodDeclaration |
insertAllBefore(el: any, nodes: any): void; | anttisirkiafuturice/angular2todo | node_modules/angular2/es6/dev/src/dom/dom_adapter.d.ts | TypeScript |
MethodDeclaration |
insertAfter(el: any, node: any): void; | anttisirkiafuturice/angular2todo | node_modules/angular2/es6/dev/src/dom/dom_adapter.d.ts | TypeScript |
MethodDeclaration |
setInnerHTML(el: any, value: any): void; | anttisirkiafuturice/angular2todo | node_modules/angular2/es6/dev/src/dom/dom_adapter.d.ts | TypeScript |
MethodDeclaration |
getText(el: any): string; | anttisirkiafuturice/angular2todo | node_modules/angular2/es6/dev/src/dom/dom_adapter.d.ts | TypeScript |
MethodDeclaration |
setText(el: any, value: string): void; | anttisirkiafuturice/angular2todo | node_modules/angular2/es6/dev/src/dom/dom_adapter.d.ts | TypeScript |
MethodDeclaration |
getValue(el: any): string; | anttisirkiafuturice/angular2todo | node_modules/angular2/es6/dev/src/dom/dom_adapter.d.ts | TypeScript |
MethodDeclaration |
setValue(el: any, value: string): void; | anttisirkiafuturice/angular2todo | node_modules/angular2/es6/dev/src/dom/dom_adapter.d.ts | TypeScript |
MethodDeclaration |
getChecked(el: any): boolean; | anttisirkiafuturice/angular2todo | node_modules/angular2/es6/dev/src/dom/dom_adapter.d.ts | TypeScript |
MethodDeclaration |
setChecked(el: any, value: boolean): void; | anttisirkiafuturice/angular2todo | node_modules/angular2/es6/dev/src/dom/dom_adapter.d.ts | TypeScript |
MethodDeclaration |
createTemplate(html: any): HTMLElement; | anttisirkiafuturice/angular2todo | node_modules/angular2/es6/dev/src/dom/dom_adapter.d.ts | TypeScript |
MethodDeclaration |
createElement(tagName: any, doc?: any): HTMLElement; | anttisirkiafuturice/angular2todo | node_modules/angular2/es6/dev/src/dom/dom_adapter.d.ts | TypeScript |
MethodDeclaration |
createTextNode(text: string, doc?: any): Text; | anttisirkiafuturice/angular2todo | node_modules/angular2/es6/dev/src/dom/dom_adapter.d.ts | TypeScript |
MethodDeclaration |
createScriptTag(attrName: string, attrValue: string, doc?: any): HTMLElement; | anttisirkiafuturice/angular2todo | node_modules/angular2/es6/dev/src/dom/dom_adapter.d.ts | TypeScript |
MethodDeclaration |
createStyleElement(css: string, doc?: any): HTMLStyleElement; | anttisirkiafuturice/angular2todo | node_modules/angular2/es6/dev/src/dom/dom_adapter.d.ts | TypeScript |
MethodDeclaration |
createShadowRoot(el: any): any; | anttisirkiafuturice/angular2todo | node_modules/angular2/es6/dev/src/dom/dom_adapter.d.ts | TypeScript |
MethodDeclaration |
getShadowRoot(el: any): any; | anttisirkiafuturice/angular2todo | node_modules/angular2/es6/dev/src/dom/dom_adapter.d.ts | TypeScript |
MethodDeclaration |
getHost(el: any): any; | anttisirkiafuturice/angular2todo | node_modules/angular2/es6/dev/src/dom/dom_adapter.d.ts | TypeScript |
MethodDeclaration |
getDistributedNodes(el: any): List<Node>; | anttisirkiafuturice/angular2todo | node_modules/angular2/es6/dev/src/dom/dom_adapter.d.ts | TypeScript |
MethodDeclaration |
clone(node: Node): Node; | anttisirkiafuturice/angular2todo | node_modules/angular2/es6/dev/src/dom/dom_adapter.d.ts | TypeScript |
MethodDeclaration |
getElementsByClassName(element: any, name: string): List<HTMLElement>; | anttisirkiafuturice/angular2todo | node_modules/angular2/es6/dev/src/dom/dom_adapter.d.ts | TypeScript |
MethodDeclaration |
getElementsByTagName(element: any, name: string): List<HTMLElement>; | anttisirkiafuturice/angular2todo | node_modules/angular2/es6/dev/src/dom/dom_adapter.d.ts | TypeScript |
MethodDeclaration |
classList(element: any): List<any>; | anttisirkiafuturice/angular2todo | node_modules/angular2/es6/dev/src/dom/dom_adapter.d.ts | TypeScript |
MethodDeclaration |
addClass(element: any, classname: string): void; | anttisirkiafuturice/angular2todo | node_modules/angular2/es6/dev/src/dom/dom_adapter.d.ts | TypeScript |
MethodDeclaration |
removeClass(element: any, classname: string): void; | anttisirkiafuturice/angular2todo | node_modules/angular2/es6/dev/src/dom/dom_adapter.d.ts | TypeScript |
MethodDeclaration |
hasClass(element: any, classname: string): boolean; | anttisirkiafuturice/angular2todo | node_modules/angular2/es6/dev/src/dom/dom_adapter.d.ts | TypeScript |
MethodDeclaration |
setStyle(element: any, stylename: string, stylevalue: string): void; | anttisirkiafuturice/angular2todo | node_modules/angular2/es6/dev/src/dom/dom_adapter.d.ts | TypeScript |
MethodDeclaration |
removeStyle(element: any, stylename: string): void; | anttisirkiafuturice/angular2todo | node_modules/angular2/es6/dev/src/dom/dom_adapter.d.ts | TypeScript |
MethodDeclaration |
getStyle(element: any, stylename: string): string; | anttisirkiafuturice/angular2todo | node_modules/angular2/es6/dev/src/dom/dom_adapter.d.ts | TypeScript |
MethodDeclaration |
tagName(element: any): string; | anttisirkiafuturice/angular2todo | node_modules/angular2/es6/dev/src/dom/dom_adapter.d.ts | TypeScript |
MethodDeclaration |
attributeMap(element: any): Map<string, string>; | anttisirkiafuturice/angular2todo | node_modules/angular2/es6/dev/src/dom/dom_adapter.d.ts | TypeScript |
MethodDeclaration |
hasAttribute(element: any, attribute: string): boolean; | anttisirkiafuturice/angular2todo | node_modules/angular2/es6/dev/src/dom/dom_adapter.d.ts | TypeScript |
MethodDeclaration |
getAttribute(element: any, attribute: string): string; | anttisirkiafuturice/angular2todo | node_modules/angular2/es6/dev/src/dom/dom_adapter.d.ts | TypeScript |
MethodDeclaration |
setAttribute(element: any, name: string, value: string): void; | anttisirkiafuturice/angular2todo | node_modules/angular2/es6/dev/src/dom/dom_adapter.d.ts | TypeScript |
MethodDeclaration |
removeAttribute(element: any, attribute: string): void; | anttisirkiafuturice/angular2todo | node_modules/angular2/es6/dev/src/dom/dom_adapter.d.ts | TypeScript |
MethodDeclaration |
templateAwareRoot(el: any): void; | anttisirkiafuturice/angular2todo | node_modules/angular2/es6/dev/src/dom/dom_adapter.d.ts | TypeScript |
MethodDeclaration |
createHtmlDocument(): HTMLDocument; | anttisirkiafuturice/angular2todo | node_modules/angular2/es6/dev/src/dom/dom_adapter.d.ts | TypeScript |
MethodDeclaration |
defaultDoc(): HTMLDocument; | anttisirkiafuturice/angular2todo | node_modules/angular2/es6/dev/src/dom/dom_adapter.d.ts | TypeScript |
MethodDeclaration |
getBoundingClientRect(el: any): void; | anttisirkiafuturice/angular2todo | node_modules/angular2/es6/dev/src/dom/dom_adapter.d.ts | TypeScript |
MethodDeclaration |
getTitle(): string; | anttisirkiafuturice/angular2todo | node_modules/angular2/es6/dev/src/dom/dom_adapter.d.ts | TypeScript |
MethodDeclaration |
setTitle(newTitle: string): void; | anttisirkiafuturice/angular2todo | node_modules/angular2/es6/dev/src/dom/dom_adapter.d.ts | TypeScript |
MethodDeclaration |
elementMatches(n: any, selector: string): boolean; | anttisirkiafuturice/angular2todo | node_modules/angular2/es6/dev/src/dom/dom_adapter.d.ts | TypeScript |
MethodDeclaration |
isTemplateElement(el: any): boolean; | anttisirkiafuturice/angular2todo | node_modules/angular2/es6/dev/src/dom/dom_adapter.d.ts | TypeScript |
MethodDeclaration |
isTextNode(node: any): boolean; | anttisirkiafuturice/angular2todo | node_modules/angular2/es6/dev/src/dom/dom_adapter.d.ts | TypeScript |
MethodDeclaration |
isCommentNode(node: any): boolean; | anttisirkiafuturice/angular2todo | node_modules/angular2/es6/dev/src/dom/dom_adapter.d.ts | TypeScript |
MethodDeclaration |
isElementNode(node: any): boolean; | anttisirkiafuturice/angular2todo | node_modules/angular2/es6/dev/src/dom/dom_adapter.d.ts | TypeScript |
MethodDeclaration |
hasShadowRoot(node: any): boolean; | anttisirkiafuturice/angular2todo | node_modules/angular2/es6/dev/src/dom/dom_adapter.d.ts | TypeScript |
MethodDeclaration |
isShadowRoot(node: any): boolean; | anttisirkiafuturice/angular2todo | node_modules/angular2/es6/dev/src/dom/dom_adapter.d.ts | TypeScript |
MethodDeclaration |
importIntoDoc(node: Node): Node; | anttisirkiafuturice/angular2todo | node_modules/angular2/es6/dev/src/dom/dom_adapter.d.ts | TypeScript |
MethodDeclaration |
isPageRule(rule: any): boolean; | anttisirkiafuturice/angular2todo | node_modules/angular2/es6/dev/src/dom/dom_adapter.d.ts | TypeScript |
MethodDeclaration |
isStyleRule(rule: any): boolean; | anttisirkiafuturice/angular2todo | node_modules/angular2/es6/dev/src/dom/dom_adapter.d.ts | TypeScript |
MethodDeclaration |
isMediaRule(rule: any): boolean; | anttisirkiafuturice/angular2todo | node_modules/angular2/es6/dev/src/dom/dom_adapter.d.ts | TypeScript |
MethodDeclaration |
isKeyframesRule(rule: any): boolean; | anttisirkiafuturice/angular2todo | node_modules/angular2/es6/dev/src/dom/dom_adapter.d.ts | TypeScript |
MethodDeclaration |
getHref(element: any): string; | anttisirkiafuturice/angular2todo | node_modules/angular2/es6/dev/src/dom/dom_adapter.d.ts | TypeScript |
MethodDeclaration |
getEventKey(event: any): string; | anttisirkiafuturice/angular2todo | node_modules/angular2/es6/dev/src/dom/dom_adapter.d.ts | TypeScript |
MethodDeclaration |
resolveAndSetHref(element: any, baseUrl: string, href: string): void; | anttisirkiafuturice/angular2todo | node_modules/angular2/es6/dev/src/dom/dom_adapter.d.ts | TypeScript |
MethodDeclaration |
cssToRules(css: string): List<any>; | anttisirkiafuturice/angular2todo | node_modules/angular2/es6/dev/src/dom/dom_adapter.d.ts | TypeScript |
MethodDeclaration |
supportsDOMEvents(): boolean; | anttisirkiafuturice/angular2todo | node_modules/angular2/es6/dev/src/dom/dom_adapter.d.ts | TypeScript |
MethodDeclaration |
supportsNativeShadowDOM(): boolean; | anttisirkiafuturice/angular2todo | node_modules/angular2/es6/dev/src/dom/dom_adapter.d.ts | TypeScript |
MethodDeclaration |
getGlobalEventTarget(target: string): any; | anttisirkiafuturice/angular2todo | node_modules/angular2/es6/dev/src/dom/dom_adapter.d.ts | TypeScript |
MethodDeclaration |
getHistory(): History; | anttisirkiafuturice/angular2todo | node_modules/angular2/es6/dev/src/dom/dom_adapter.d.ts | TypeScript |
MethodDeclaration |
getLocation(): Location; | anttisirkiafuturice/angular2todo | node_modules/angular2/es6/dev/src/dom/dom_adapter.d.ts | TypeScript |
MethodDeclaration |
getBaseHref(): string; | anttisirkiafuturice/angular2todo | node_modules/angular2/es6/dev/src/dom/dom_adapter.d.ts | TypeScript |
MethodDeclaration |
getUserAgent(): string; | anttisirkiafuturice/angular2todo | node_modules/angular2/es6/dev/src/dom/dom_adapter.d.ts | TypeScript |
MethodDeclaration |
setData(element: any, name: string, value: string): void; | anttisirkiafuturice/angular2todo | node_modules/angular2/es6/dev/src/dom/dom_adapter.d.ts | TypeScript |
MethodDeclaration |
getData(element: any, name: string): string; | anttisirkiafuturice/angular2todo | node_modules/angular2/es6/dev/src/dom/dom_adapter.d.ts | TypeScript |
MethodDeclaration |
setGlobalVar(name: string, value: any): void; | anttisirkiafuturice/angular2todo | node_modules/angular2/es6/dev/src/dom/dom_adapter.d.ts | TypeScript |
ArrowFunction |
(res: Industry[]) => {
this.industries = res;
this.findSubcategories(this.rowData?.industry);
} | Dorota1997/customers-management | ui/src/app/components/form/form.component.ts | TypeScript |
ArrowFunction |
(industry) => industry.name === value | Dorota1997/customers-management | ui/src/app/components/form/form.component.ts | TypeScript |
ArrowFunction |
(res: Customer) => {
this.sharedService.customer.next(res);
} | Dorota1997/customers-management | ui/src/app/components/form/form.component.ts | TypeScript |
ArrowFunction |
(res: Customer) => {
this.sharedService.customer.next(res);
this.sharedService.isUpdated.next(true);
} | Dorota1997/customers-management | ui/src/app/components/form/form.component.ts | TypeScript |
ClassDeclaration |
@Component({
selector: 'app-form',
templateUrl: './form.component.html',
styleUrls: ['./form.component.scss'],
})
export class FormComponent implements OnInit, OnChanges {
@Input() rowData: Customer;
@Input() optionNum: number;
@Output() showForms = new EventEmitter();
industries: Industry[] = [];
subc... | Dorota1997/customers-management | ui/src/app/components/form/form.component.ts | TypeScript |
MethodDeclaration |
ngOnChanges() {
this.formGroup = new FormGroup({
name: new FormControl(this.rowData?.name ?? '', [Validators.required]),
surname: new FormControl(this.rowData?.surname ?? '', [Validators.required]),
birthDate: new FormControl(this.rowData?.birthDate.replace(/\./g, '-') ?? '', [
Validators... | Dorota1997/customers-management | ui/src/app/components/form/form.component.ts | TypeScript |
MethodDeclaration |
ngOnInit() {
this.maxDate = this.sharedService.setMaxDate();
this.allIndustries();
} | Dorota1997/customers-management | ui/src/app/components/form/form.component.ts | TypeScript |
MethodDeclaration |
hideForm() {
this.showForms.emit(false);
} | Dorota1997/customers-management | ui/src/app/components/form/form.component.ts | TypeScript |
MethodDeclaration |
allIndustries() {
this.industryService.industries().subscribe((res: Industry[]) => {
this.industries = res;
this.findSubcategories(this.rowData?.industry);
});
} | Dorota1997/customers-management | ui/src/app/components/form/form.component.ts | TypeScript |
MethodDeclaration |
isVisibility() {
return this.optionNum === 0;
} | Dorota1997/customers-management | ui/src/app/components/form/form.component.ts | TypeScript |
MethodDeclaration |
onChange(event) {
this.findSubcategories(event);
} | Dorota1997/customers-management | ui/src/app/components/form/form.component.ts | TypeScript |
MethodDeclaration |
checkError(data: FormGroup, controlName: string, errorName: string) {
return this.sharedService.checkError(data, controlName, errorName);
} | Dorota1997/customers-management | ui/src/app/components/form/form.component.ts | TypeScript |
MethodDeclaration |
findSubcategories(value) {
this.subcategories = this.industries.find((industry) => industry.name === value)?.subcategories;
} | Dorota1997/customers-management | ui/src/app/components/form/form.component.ts | TypeScript |
MethodDeclaration |
createCustomer() {
const customer = {
id: 0,
name: this.formGroup.get('name').value,
surname: this.formGroup.get('surname').value,
birthDate: this.formGroup.get('birthDate').value.replace(/-/g, '.'),
industry: this.formGroup.get('industry').value,
subcategory: this.formGroup.get... | Dorota1997/customers-management | ui/src/app/components/form/form.component.ts | TypeScript |
ClassDeclaration |
export class BaseModel {
@CreateDateColumn()
createdAt: Date;
@UpdateDateColumn()
updatedAt: Date;
@PrimaryGeneratedColumn('uuid')
id: string;
@DeleteDateColumn()
deletedAt?: Date;
} | acidmaksim/NestJs-Auth | config/models.ts | TypeScript |
FunctionDeclaration |
export function main(domElement: HTMLElement, options: IWorkbenchConstructionOptions): Promise<IWorkbench> {
const workbench = new BrowserMain(domElement, options);
return workbench.open();
} | Dekar13/vscode | src/vs/workbench/browser/web.main.ts | TypeScript |
ArrowFunction |
accessor => {
const commandService = accessor.get(ICommandService);
const lifecycleService = accessor.get(ILifecycleService);
const timerService = accessor.get(ITimerService);
return {
commands: {
executeCommand: (command, ...args) => commandService.executeCommand(command, ...args)
},
env... | Dekar13/vscode | src/vs/workbench/browser/web.main.ts | TypeScript |
ArrowFunction |
(command, ...args) => commandService.executeCommand(command, ...args) | Dekar13/vscode | src/vs/workbench/browser/web.main.ts | TypeScript |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.