type stringclasses 7
values | content stringlengths 4 9.55k | repo stringlengths 7 96 | path stringlengths 4 178 | language stringclasses 1
value |
|---|---|---|---|---|
ClassDeclaration | /**
* Model's translation(position) control for {@link ARWallControl}
* @category Controls-AR
*/
class ARWallTranslateControl implements ARControl {
public readonly position = new THREE.Vector3();
public readonly wallPosition = new THREE.Vector3();
public readonly hitRotation = new THREE.Quaternion();
// Glo... | FilipMirceski/testAR | src/controls/ar/wall/ARWallTranslateControl.ts | TypeScript |
InterfaceDeclaration | /**
* Options for {@link ARTranslateControl}
* @category Controls-AR
* @interface
* @property {ArrowIndicatorOption} arrow Options for {@link ArrowIndicator}
*/
export interface ARWallTranslateControlOption {
arrow: Partial<ArrowIndicatorOption>;
} | FilipMirceski/testAR | src/controls/ar/wall/ARWallTranslateControl.ts | TypeScript |
MethodDeclaration |
public initWallTransform({ hitPosition, hitRotation, modelPosition, wallRotation }: {
hitPosition: THREE.Vector3,
hitRotation: THREE.Quaternion,
modelPosition: THREE.Vector3,
wallRotation: THREE.Quaternion,
}) {
this.position.copy(modelPosition);
this.hitRotation.copy(hitRotation);
this.w... | FilipMirceski/testAR | src/controls/ar/wall/ARWallTranslateControl.ts | TypeScript |
MethodDeclaration |
public init({ view3d }: XRRenderContext) {
view3d.scene.add(this._arrowIndicator.object);
} | FilipMirceski/testAR | src/controls/ar/wall/ARWallTranslateControl.ts | TypeScript |
MethodDeclaration |
public destroy({ view3d }: XRContext) {
view3d.scene.remove(this._arrowIndicator.object);
} | FilipMirceski/testAR | src/controls/ar/wall/ARWallTranslateControl.ts | TypeScript |
MethodDeclaration | /**
* Enable this control
*/
public enable() {
this._enabled = true;
} | FilipMirceski/testAR | src/controls/ar/wall/ARWallTranslateControl.ts | TypeScript |
MethodDeclaration | /**
* Disable this control
*/
public disable() {
this._enabled = false;
this.deactivate();
} | FilipMirceski/testAR | src/controls/ar/wall/ARWallTranslateControl.ts | TypeScript |
MethodDeclaration |
public activate({ model }: XRRenderContext, gesture: TOUCH.GESTURE) {
if (!this._enabled) return;
this._active = true;
// Update arrows
const arrowIndicator = this._arrowIndicator;
const modelBbox = model.initialBbox;
modelBbox.min.multiply(model.scene.scale);
modelBbox.max.multiply(model... | FilipMirceski/testAR | src/controls/ar/wall/ARWallTranslateControl.ts | TypeScript |
MethodDeclaration |
public deactivate() {
this._active = false;
this._arrowIndicator.hide();
} | FilipMirceski/testAR | src/controls/ar/wall/ARWallTranslateControl.ts | TypeScript |
MethodDeclaration |
public setInitialPos(coords: THREE.Vector2[]) {
this._initialPos.copy(coords[0]);
} | FilipMirceski/testAR | src/controls/ar/wall/ARWallTranslateControl.ts | TypeScript |
MethodDeclaration |
public process({ view3d, model, frame, referenceSpace, xrCam }: XRRenderContext, { hitResults }: XRInputs) {
if (!hitResults || hitResults.length !== 1 || !this._active) return;
const dragPlane = this._dragPlane;
const modelRoot = model.scene;
const modelZOffset = -model.initialBbox.min.z * modelRoot... | FilipMirceski/testAR | src/controls/ar/wall/ARWallTranslateControl.ts | TypeScript |
MethodDeclaration |
public update({ model }: XRRenderContext, delta: number) {
model.scene.position.copy(this.position);
this._arrowIndicator.updatePosition(this.position);
model.scene.updateMatrix();
} | FilipMirceski/testAR | src/controls/ar/wall/ARWallTranslateControl.ts | TypeScript |
ArrowFunction |
() => {
before(() => {
cy.Login();
cy.visit('/');
cy.createProject(testName);
cy.createNAD(testName);
cy.createDataVolume(pvcTemplate.pvcName, pvcTemplate.pvcNS);
});
after(() => {
[urlTemplate, registryTemplate, pvcTemplate, pxeTemplate].forEach((data) => {
cy.deleteResource(K8S_K... | DaoDaoNoCode/console | frontend/packages/kubevirt-plugin/integration-tests-cypress/tests/tier1-a/create-template-from-wizard.spec.ts | TypeScript |
ArrowFunction |
() => {
cy.Login();
cy.visit('/');
cy.createProject(testName);
cy.createNAD(testName);
cy.createDataVolume(pvcTemplate.pvcName, pvcTemplate.pvcNS);
} | DaoDaoNoCode/console | frontend/packages/kubevirt-plugin/integration-tests-cypress/tests/tier1-a/create-template-from-wizard.spec.ts | TypeScript |
ArrowFunction |
() => {
[urlTemplate, registryTemplate, pvcTemplate, pxeTemplate].forEach((data) => {
cy.deleteResource(K8S_KIND.Template, data.name, data.namespace);
});
cy.deleteResource(K8S_KIND.NAD, NAD_NAME, testName);
cy.deleteTestProject(testName);
} | DaoDaoNoCode/console | frontend/packages/kubevirt-plugin/integration-tests-cypress/tests/tier1-a/create-template-from-wizard.spec.ts | TypeScript |
ArrowFunction |
(data) => {
cy.deleteResource(K8S_KIND.Template, data.name, data.namespace);
} | DaoDaoNoCode/console | frontend/packages/kubevirt-plugin/integration-tests-cypress/tests/tier1-a/create-template-from-wizard.spec.ts | TypeScript |
ArrowFunction |
(data) => {
it(`${data.description}`, () => {
cy.visitVMTemplatesList();
virtualization.templates.createTemplateFromWizard(data);
const vmt: Template = { name: data.name };
const vmData: VirtualMachineData = {
name: `vm-from-${data.name}`,
template: vmt,
sourceAvaila... | DaoDaoNoCode/console | frontend/packages/kubevirt-plugin/integration-tests-cypress/tests/tier1-a/create-template-from-wizard.spec.ts | TypeScript |
ArrowFunction |
() => {
cy.visitVMTemplatesList();
virtualization.templates.createTemplateFromWizard(data);
const vmt: Template = { name: data.name };
const vmData: VirtualMachineData = {
name: `vm-from-${data.name}`,
template: vmt,
sourceAvailable: true,
};
cy.visitVMsList(... | DaoDaoNoCode/console | frontend/packages/kubevirt-plugin/integration-tests-cypress/tests/tier1-a/create-template-from-wizard.spec.ts | TypeScript |
ArrowFunction |
m => {
this.userName = m['userName'];
} | aniketeknathjadhav/tele-medicine-zoom | TeleMedicineZoom/TeleMedicineZoom/wwwroot/AngularCode/src/app/Patient/Live-Video/live-video.component.ts | TypeScript |
ClassDeclaration |
@Component({
templateUrl: './live-video.component.html',
styleUrls: ['./live-video.component.css']
})
export class PatientLiveVideoComponent implements OnInit {
public form: any;
public userName:string;
public role=0;
public isMeet= false;
// setup your signature endpoint here: https://github.com/zoom/w... | aniketeknathjadhav/tele-medicine-zoom | TeleMedicineZoom/TeleMedicineZoom/wwwroot/AngularCode/src/app/Patient/Live-Video/live-video.component.ts | TypeScript |
MethodDeclaration |
ngOnInit() {
this.isMeet=true;
} | aniketeknathjadhav/tele-medicine-zoom | TeleMedicineZoom/TeleMedicineZoom/wwwroot/AngularCode/src/app/Patient/Live-Video/live-video.component.ts | TypeScript |
ClassDeclaration |
@Component({
selector: 'home',
templateUrl: `./homeComponent.html`,
})
export class HomeComponent {
} | Dominic14ds/newRecyclr | src/app/components/homeComponent/home.component.ts | TypeScript |
ArrowFunction |
(props: FrameProps) => {
const { label, value, onClick, error, errorMsg } = props;
const listClass = classnames({
'list-default': true,
'list-error': error,
})
const lableClass = classnames({
'material-design-lable': true,
'material-design-lable-focus': value
})
const listClick =(e) => {
... | 18613109040/taro-demo | src/components/ListItem/index.tsx | TypeScript |
ArrowFunction |
(e) => {
if(onClick) onClick(e)
} | 18613109040/taro-demo | src/components/ListItem/index.tsx | TypeScript |
TypeAliasDeclaration |
type FrameProps = {
label?: string;
value?: string;
error?: boolean;
errorMsg?: string;
onClick?: (any)=>void;
} | 18613109040/taro-demo | src/components/ListItem/index.tsx | TypeScript |
InterfaceDeclaration |
interface PhoneNumberInfo {
/**
* Internal identifier of a phone number
*/
id?: string;
/**
* Brief information on a phone number country
*/
country?: CountryInfo;
/**
* Information on the extension, to which the phone number is assigned. Returned only for the request of... | Agordia/ringcentral-js-client | src/definitions/PhoneNumberInfo.ts | TypeScript |
ArrowFunction |
() => {
beforeEach(() => {
cy.setup();
cy.login();
});
it("Can create, update, delete a policy successfully, and turn on failing policies webhook", () => {
cy.visit("/policies/manage");
cy.get(".manage-policies-page__description")
.should("contain", /add policies/i)
... | fleetdm/fleet | cypress/integration/all/app/policiesflow.spec.ts | TypeScript |
ArrowFunction |
() => {
cy.setup();
cy.login();
} | fleetdm/fleet | cypress/integration/all/app/policiesflow.spec.ts | TypeScript |
ArrowFunction |
() => {
cy.visit("/policies/manage");
cy.get(".manage-policies-page__description")
.should("contain", /add policies/i)
.and("contain", /manage automations/i); // Ensure page load
// Add a policy
cy.findByText(/add a policy/i).click();
cy.findByText(/create your own policy... | fleetdm/fleet | cypress/integration/all/app/policiesflow.spec.ts | TypeScript |
ArrowFunction |
() => {
cy.findByRole("button", { name: /0 hosts/i }).click();
} | fleetdm/fleet | cypress/integration/all/app/policiesflow.spec.ts | TypeScript |
ArrowFunction |
() => {
cy.findByText(/user named 'backup'/i).should("exist");
cy.findByText(/no/i).should("exist").click();
cy.findByText(/yes/i).should("exist");
cy.get('img[alt="Remove policy filter"]').click();
cy.findByText(/user named 'backup'/i).should("not.exist");
} | fleetdm/fleet | cypress/integration/all/app/policiesflow.spec.ts | TypeScript |
ArrowFunction |
() => {
cy.findByText(/policies/i).click();
} | fleetdm/fleet | cypress/integration/all/app/policiesflow.spec.ts | TypeScript |
ArrowFunction |
() => {
cy.get("tr")
.first()
.within(() => {
cy.get(".fleet-checkbox__input").check({ force: true });
});
} | fleetdm/fleet | cypress/integration/all/app/policiesflow.spec.ts | TypeScript |
ArrowFunction |
() => {
cy.get(".fleet-checkbox__input").check({ force: true });
} | fleetdm/fleet | cypress/integration/all/app/policiesflow.spec.ts | TypeScript |
ArrowFunction |
() => {
cy.findByRole("button", { name: /cancel/i }).should("exist");
cy.findByRole("button", { name: /delete/i }).click();
} | fleetdm/fleet | cypress/integration/all/app/policiesflow.spec.ts | TypeScript |
ArrowFunction |
() => {
cy.get(".fleet-checkbox__input").check({ force: true });
} | fleetdm/fleet | cypress/integration/all/app/policiesflow.spec.ts | TypeScript |
ArrowFunction |
() => {
cy.get(".fleet-checkbox__input").should("be.checked");
} | fleetdm/fleet | cypress/integration/all/app/policiesflow.spec.ts | TypeScript |
ClassDeclaration |
class ChartBuildQueryRegistry extends Registry<BuildQuery> {
constructor() {
super({ name: 'ChartBuildQuery', overwritePolicy: OverwritePolicy.WARN });
}
} | TeliaDK/superset-ui | packages/superset-ui-chart/src/registries/ChartBuildQueryRegistrySingleton.ts | TypeScript |
TypeAliasDeclaration | // Ideally this would be <T extends QueryFormData>
type BuildQuery = (formData: any) => QueryContext; | TeliaDK/superset-ui | packages/superset-ui-chart/src/registries/ChartBuildQueryRegistrySingleton.ts | TypeScript |
ArrowFunction |
() => {
let page: ExplorePage;
beforeEach(() => {
page = new ExplorePage();
});
it('should display message saying app works', () => {
page.navigateTo();
// expect(page.getParagraphText()).toEqual('app works!');
});
} | russon77/off-the-beaten-path | e2e/app.e2e-spec.ts | TypeScript |
ArrowFunction |
() => {
page = new ExplorePage();
} | russon77/off-the-beaten-path | e2e/app.e2e-spec.ts | TypeScript |
ArrowFunction |
() => {
page.navigateTo();
// expect(page.getParagraphText()).toEqual('app works!');
} | russon77/off-the-beaten-path | e2e/app.e2e-spec.ts | TypeScript |
ArrowFunction |
async (graph, module) => getDependantTasksForModule({
garden,
graph,
log,
module,
fromWatch: false,
hotReloadServiceNames,
force: opts.force,
forceBuild: opts["force-build"],
}) | dev-kpyc/garden | garden-service/src/commands/deploy.ts | TypeScript |
ArrowFunction |
async (graph, module) => {
const tasks: BaseTask[] = await getDependantTasksForModule({
garden, graph, log, module, hotReloadServiceNames, force: true, forceBuild: opts["force-build"],
fromWatch: true, includeDependants: true,
})
const hotReloadServices = await graph.getSer... | dev-kpyc/garden | garden-service/src/commands/deploy.ts | TypeScript |
ArrowFunction |
service => service.module.name === module.name || service.sourceModule.name === module.name | dev-kpyc/garden | garden-service/src/commands/deploy.ts | TypeScript |
ArrowFunction |
service => new HotReloadTask({ garden, graph, log, service, force: true }) | dev-kpyc/garden | garden-service/src/commands/deploy.ts | TypeScript |
ClassDeclaration |
export class DeployCommand extends Command<Args, Opts> {
name = "deploy"
help = "Deploy service(s) to your environment."
description = dedent`
Deploys all or specified services, taking into account service dependency order.
Also builds modules and dependencies if needed.
Optionally stays running an... | dev-kpyc/garden | garden-service/src/commands/deploy.ts | TypeScript |
TypeAliasDeclaration |
type Args = typeof deployArgs | dev-kpyc/garden | garden-service/src/commands/deploy.ts | TypeScript |
TypeAliasDeclaration |
type Opts = typeof deployOpts | dev-kpyc/garden | garden-service/src/commands/deploy.ts | TypeScript |
MethodDeclaration |
async prepare({ headerLog, footerLog, opts }: PrepareParams<Args, Opts>) {
printHeader(headerLog, "Deploy", "rocket")
if (!!opts.watch || !!opts["hot-reload"]) {
this.server = await startServer(footerLog)
}
} | dev-kpyc/garden | garden-service/src/commands/deploy.ts | TypeScript |
MethodDeclaration |
async action({ garden, log, footerLog, args, opts }: CommandParams<Args, Opts>): Promise<CommandResult<TaskResults>> {
if (this.server) {
this.server.setGarden(garden)
}
const initGraph = await garden.getConfigGraph()
const services = await initGraph.getServices(args.services)
if (services.... | dev-kpyc/garden | garden-service/src/commands/deploy.ts | TypeScript |
ClassDeclaration |
export class ThreadNode {
name: string;
threadlevel?: string;
totalTimeConsumption?: number;
blocked: number;
running: number;
waiting: number;
icon?: DtIconType;
children?: ThreadNode[];
isShowMore?: boolean;
} | DorotkaMakotka/barista | libs/examples/src/tree-table/tree-table-example-types.ts | TypeScript |
ClassDeclaration |
export class ThreadFlatNode {
name: string;
threadlevel?: string;
totalTimeConsumption?: number;
blocked: number;
running: number;
waiting: number;
icon?: DtIconType;
level: number;
expandable: boolean;
isShowMore?: boolean;
} | DorotkaMakotka/barista | libs/examples/src/tree-table/tree-table-example-types.ts | TypeScript |
InterfaceDeclaration |
export interface FillOperationParams {
/** The mouse event for the fill operation. */
event: MouseEvent;
/** The values that have been processed by the fill operation. */
values: any[];
/** The RowNode of the current cell being changed. */
rowNode: RowNode;
/** The Column of the current cel... | 39155319/ag-grid | community-modules/core/src/ts/entities/gridOptions.ts | TypeScript |
InterfaceDeclaration |
export interface GetDataPath {
(data: any): string[];
} | 39155319/ag-grid | community-modules/core/src/ts/entities/gridOptions.ts | TypeScript |
InterfaceDeclaration |
export interface IsServerSideGroup {
(dataItem: any): boolean;
} | 39155319/ag-grid | community-modules/core/src/ts/entities/gridOptions.ts | TypeScript |
InterfaceDeclaration |
export interface IsApplyServerSideTransaction {
(params: IsApplyServerSideTransactionParams): boolean;
} | 39155319/ag-grid | community-modules/core/src/ts/entities/gridOptions.ts | TypeScript |
InterfaceDeclaration |
export interface IsApplyServerSideTransactionParams {
/** The transaction getting applied. */
transaction: ServerSideTransaction;
/** The parent RowNode, if transaction is applied to a group. */
parentNode: RowNode;
//** Store info, if any, as passed via the success() callback when loading data. */... | 39155319/ag-grid | community-modules/core/src/ts/entities/gridOptions.ts | TypeScript |
InterfaceDeclaration |
export interface GetServerSideGroupKey {
(dataItem: any): string;
} | 39155319/ag-grid | community-modules/core/src/ts/entities/gridOptions.ts | TypeScript |
InterfaceDeclaration |
export interface IsRowMaster {
(dataItem: any): boolean;
} | 39155319/ag-grid | community-modules/core/src/ts/entities/gridOptions.ts | TypeScript |
InterfaceDeclaration |
export interface IsRowSelectable {
(node: RowNode): boolean;
} | 39155319/ag-grid | community-modules/core/src/ts/entities/gridOptions.ts | TypeScript |
InterfaceDeclaration |
export interface RowClassRules {
[cssClassName: string]: (((params: RowClassParams) => boolean) | string);
} | 39155319/ag-grid | community-modules/core/src/ts/entities/gridOptions.ts | TypeScript |
InterfaceDeclaration |
export interface RowStyle { [cssProperty: string]: string | number; } | 39155319/ag-grid | community-modules/core/src/ts/entities/gridOptions.ts | TypeScript |
InterfaceDeclaration |
export interface RowClassParams {
/** The data associated with this row from rowData */
data: any;
/** The RowNode associated with this row */
node: RowNode;
/** The index of the row */
rowIndex: number;
/** If using AngularJs, is the row's child scope, otherwise null */
$scope: any;
... | 39155319/ag-grid | community-modules/core/src/ts/entities/gridOptions.ts | TypeScript |
InterfaceDeclaration |
export interface RowHeightParams {
data: any;
node: RowNode;
api: GridApi;
/** The context as provided on `gridOptions.context` */
context: any;
} | 39155319/ag-grid | community-modules/core/src/ts/entities/gridOptions.ts | TypeScript |
InterfaceDeclaration |
export interface SendToClipboardParams {
data: string;
} | 39155319/ag-grid | community-modules/core/src/ts/entities/gridOptions.ts | TypeScript |
InterfaceDeclaration |
export interface GetContextMenuItemsParams {
/** Names of the items that would be provided by default. */
defaultItems: string[] | undefined;
/** The column, if a cell was clicked, otherwise null. */
column: Column | null;
/** The row node, if a cell was clicked, otherwise null. */
node: RowNod... | 39155319/ag-grid | community-modules/core/src/ts/entities/gridOptions.ts | TypeScript |
InterfaceDeclaration |
export interface GetContextMenuItems {
(params: GetContextMenuItemsParams): (string | MenuItemDef)[];
} | 39155319/ag-grid | community-modules/core/src/ts/entities/gridOptions.ts | TypeScript |
InterfaceDeclaration |
export interface GetChartToolbarItemsParams {
defaultItems?: ChartMenuOptions[];
api: GridApi;
columnApi: ColumnApi;
} | 39155319/ag-grid | community-modules/core/src/ts/entities/gridOptions.ts | TypeScript |
InterfaceDeclaration |
export interface GetChartToolbarItems {
(params: GetChartToolbarItemsParams): ChartMenuOptions[];
} | 39155319/ag-grid | community-modules/core/src/ts/entities/gridOptions.ts | TypeScript |
InterfaceDeclaration |
export interface MenuItemDef {
/** Name of the menu item */
name: string;
/** It the item should be enabled / disabled */
disabled?: boolean;
/** Shortcut (just display text, saying the shortcut here does nothing) */
shortcut?: string;
/** Function that gets executed when item is chosen */
... | 39155319/ag-grid | community-modules/core/src/ts/entities/gridOptions.ts | TypeScript |
InterfaceDeclaration |
export interface GetMainMenuItemsParams {
/** The column that was clicked */
column: Column;
/** List of the items that would be displayed by default */
defaultItems: string[];
api: GridApi;
columnApi: ColumnApi;
/** The context as provided on `gridOptions.context` */
context: any;
} | 39155319/ag-grid | community-modules/core/src/ts/entities/gridOptions.ts | TypeScript |
InterfaceDeclaration |
export interface GetMainMenuItems {
(params: GetMainMenuItemsParams): (string | MenuItemDef)[];
} | 39155319/ag-grid | community-modules/core/src/ts/entities/gridOptions.ts | TypeScript |
InterfaceDeclaration |
export interface GetRowNodeIdFunc {
(data: any): string;
} | 39155319/ag-grid | community-modules/core/src/ts/entities/gridOptions.ts | TypeScript |
InterfaceDeclaration |
export interface ProcessRowParams {
eRow: HTMLElement;
ePinnedLeftRow: HTMLElement;
ePinnedRightRow: HTMLElement;
rowIndex: number;
node: RowNode;
api: GridApi;
columnApi: ColumnApi;
addRenderedRowListener: (eventType: string, listener: Function) => void;
/** The context as provided... | 39155319/ag-grid | community-modules/core/src/ts/entities/gridOptions.ts | TypeScript |
InterfaceDeclaration |
export interface NavigateToNextHeaderParams {
/** The key for the arrow key pressed,
* left = 'ArrowLeft', up = 'ArrowUp', right = 'ArrowRight', down = 'ArrowDown' */
key: string;
/** The header that currently has focus */
previousHeaderPosition: HeaderPosition | null;
/** The header the grid... | 39155319/ag-grid | community-modules/core/src/ts/entities/gridOptions.ts | TypeScript |
InterfaceDeclaration |
export interface TabToNextHeaderParams {
/** True if the Shift key is also down */
backwards: boolean;
/** The header that currently has focus */
previousHeaderPosition: HeaderPosition | null;
/** The header the grid would normally pick as the next header for this navigation */
nextHeaderPositi... | 39155319/ag-grid | community-modules/core/src/ts/entities/gridOptions.ts | TypeScript |
InterfaceDeclaration |
export interface NavigateToNextCellParams {
/** The keycode for the arrow key pressed:
* left = 37, up = 38, right = 39, down = 40 */
key: number;
/** The cell that currently has focus */
previousCellPosition: CellPosition;
/** The cell the grid would normally pick as the next cell for naviga... | 39155319/ag-grid | community-modules/core/src/ts/entities/gridOptions.ts | TypeScript |
InterfaceDeclaration |
export interface TabToNextCellParams {
/** True if the Shift key is also down */
backwards: boolean;
/** True if the current cell is editing
* (you may want to skip cells that are not editable, as the grid will enter the next cell in editing mode also if tabbing) */
editing: boolean;
/** The c... | 39155319/ag-grid | community-modules/core/src/ts/entities/gridOptions.ts | TypeScript |
InterfaceDeclaration |
export interface PostProcessPopupParams {
/** If popup is for a column, this gives the Column */
column?: Column | null;
/** If popup is for a row, this gives the RowNode */
rowNode?: RowNode | null;
/** The popup we are showing */
ePopup: HTMLElement;
/** The different types are:
* '... | 39155319/ag-grid | community-modules/core/src/ts/entities/gridOptions.ts | TypeScript |
InterfaceDeclaration |
export interface PaginationNumberFormatterParams {
value: number;
} | 39155319/ag-grid | community-modules/core/src/ts/entities/gridOptions.ts | TypeScript |
InterfaceDeclaration |
export interface ProcessDataFromClipboardParams {
/** 2D array of all cells from the clipboard */
data: string[][];
} | 39155319/ag-grid | community-modules/core/src/ts/entities/gridOptions.ts | TypeScript |
InterfaceDeclaration |
export interface ChartRef {
/** The id of the created chart. */
chartId: string;
/** The chart instance that is produced by AG Charts which can be used to interact with the chart directly. */
chart: any;
/** The chart DOM element, which the application is responsible for placing into the DOM. */
... | 39155319/ag-grid | community-modules/core/src/ts/entities/gridOptions.ts | TypeScript |
InterfaceDeclaration |
export interface ServerSideStoreParams {
/**
* What store type to use.
* If missing, then defaults to grid option `serverSideStoreType`.
* */
storeType?: ServerSideStoreType;
/**
* For Partial Store only.
* How many blocks to keep in cache.
* If missing, defaults to grid opti... | 39155319/ag-grid | community-modules/core/src/ts/entities/gridOptions.ts | TypeScript |
InterfaceDeclaration |
export interface GetServerSideStoreParamsParams {
/** The level of the store. Top level is 0. */
level: number;
/** The Row Node for the group that got expanded, or undefined if top level (ie no parent) */
parentRowNode?: RowNode;
/** Active Row Group Columns, if any. */
rowGroupColumns: Column... | 39155319/ag-grid | community-modules/core/src/ts/entities/gridOptions.ts | TypeScript |
InterfaceDeclaration |
export interface IsServerSideGroupOpenByDefaultParams {
data: any;
rowNode: RowNode;
} | 39155319/ag-grid | community-modules/core/src/ts/entities/gridOptions.ts | TypeScript |
InterfaceDeclaration |
export interface IsGroupOpenByDefaultParams {
/** The row node being considered. */
rowNode: RowNode;
/** The Column for which this row is grouping. */
rowGroupColumn: Column;
/** Same as `rowNode.level` - what level the group is at, e.g. 0 for top level, 1 for second etc */
level: number;
... | 39155319/ag-grid | community-modules/core/src/ts/entities/gridOptions.ts | TypeScript |
InterfaceDeclaration |
export interface LoadingCellRendererSelectorFunc {
(params: ILoadingCellRendererParams): LoadingCellRendererSelectorResult | undefined;
} | 39155319/ag-grid | community-modules/core/src/ts/entities/gridOptions.ts | TypeScript |
InterfaceDeclaration |
export interface LoadingCellRendererSelectorResult {
/** Equivalent of setting `loadingCellRenderer` */
component?: { new(): ICellRenderer; } | string;
/** Equivalent of setting `loadingCellRendererFramework` */
frameworkComponent?: any;
/** Equivalent of setting `loadingCellRendererParams` */
... | 39155319/ag-grid | community-modules/core/src/ts/entities/gridOptions.ts | TypeScript |
TypeAliasDeclaration |
export type RowGroupingDisplayType = 'singleColumn' | 'multipleColumns' | 'groupRows' | 'custom'; | 39155319/ag-grid | community-modules/core/src/ts/entities/gridOptions.ts | TypeScript |
TypeAliasDeclaration |
export type TreeDataDisplayType = 'auto' | 'custom'; | 39155319/ag-grid | community-modules/core/src/ts/entities/gridOptions.ts | TypeScript |
TypeAliasDeclaration |
export type ServerSideStoreType = 'full' | 'partial'; | 39155319/ag-grid | community-modules/core/src/ts/entities/gridOptions.ts | TypeScript |
ArrowFunction |
(props: Props) => {
const tenantContextData = useContext(TenantContext);
const initState: State = {
data: props.data || [],
current: {},
visible: false,
};
const [visible, setVisible] = useState(initState.visible);
const [data, setData] = useState(initState.data);
const [current, setCurrent] =... | Znonymous29/jetlinks-ui-antd | src/pages/device/product/save/definition/Tags.tsx | TypeScript |
ArrowFunction |
() => {
setData(tenantContextData.tags || [])
} | Znonymous29/jetlinks-ui-antd | src/pages/device/product/save/definition/Tags.tsx | TypeScript |
ArrowFunction |
(item: any) => {
setVisible(true);
setCurrent(item);
} | Znonymous29/jetlinks-ui-antd | src/pages/device/product/save/definition/Tags.tsx | TypeScript |
ArrowFunction |
(item: any) => {
const temp = data.filter(e => e.id !== item.id);
setData(temp);
props.save(temp);
} | Znonymous29/jetlinks-ui-antd | src/pages/device/product/save/definition/Tags.tsx | TypeScript |
ArrowFunction |
e => e.id !== item.id | Znonymous29/jetlinks-ui-antd | src/pages/device/product/save/definition/Tags.tsx | TypeScript |
ArrowFunction |
text => text.type | Znonymous29/jetlinks-ui-antd | src/pages/device/product/save/definition/Tags.tsx | TypeScript |
ArrowFunction |
text => (text === 'true' ? '是' : '否') | Znonymous29/jetlinks-ui-antd | src/pages/device/product/save/definition/Tags.tsx | TypeScript |
ArrowFunction |
(text, record) => (
<Fragment>
<a onClick={() | Znonymous29/jetlinks-ui-antd | src/pages/device/product/save/definition/Tags.tsx | TypeScript |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.