Sha256: 91d1d73aac6f4a63cc54067a73300a05d1cbd37325f8ec3ebefbd56133afe1fe

Contents?: true

Size: 534 Bytes

Versions: 41

Compression:

Stored size: 534 Bytes

Contents

import * as React from "react";
import * as ReactDOM from "react-dom";

import Autocomplete, { AutocompleteProps } from "./components/autocomplete.component";

window.DecidimAdmin = window.DecidimAdmin || {};

window.DecidimAdmin.renderAutocompleteSelects = (nodeSelector: string) => {
  window.$(nodeSelector).each((index: number, node: HTMLElement) => {
    const props: AutocompleteProps = { ...window.$(node).data("autocomplete") };

    ReactDOM.render(
      React.createElement(Autocomplete, props),
      node
    );
  });
};

Version data entries

41 entries across 41 versions & 1 rubygems

Version Path
decidim-admin-0.24.3 app/frontend/entry.ts
decidim-admin-0.23.6 app/frontend/entry.ts
decidim-admin-0.24.2 app/frontend/entry.ts
decidim-admin-0.23.5 app/frontend/entry.ts
decidim-admin-0.24.1 app/frontend/entry.ts
decidim-admin-0.24.0 app/frontend/entry.ts
decidim-admin-0.24.0.rc2 app/frontend/entry.ts
decidim-admin-0.23.4 app/frontend/entry.ts
decidim-admin-0.24.0.rc1 app/frontend/entry.ts
decidim-admin-0.23.3 app/frontend/entry.ts
decidim-admin-0.23.2 app/frontend/entry.ts
decidim-admin-0.23.1 app/frontend/entry.ts
decidim-admin-0.23.1.rc1 app/frontend/entry.ts
decidim-admin-0.23.0 app/frontend/entry.ts
decidim-admin-0.22.0 app/frontend/entry.ts
decidim-admin-0.21.0 app/frontend/entry.ts
decidim-admin-0.20.1 app/frontend/entry.ts
decidim-admin-0.20.0 app/frontend/entry.ts
decidim-admin-0.19.1 app/frontend/entry.ts
decidim-admin-0.18.1 app/frontend/entry.ts