1. 17 6月, 2021 2 次提交
  2. 23 3月, 2021 2 次提交
  3. 10 2月, 2021 2 次提交
  4. 02 2月, 2021 4 次提交
    • A
      5.5.0-1 · 9139a01e
      Adam Bradley 提交于
      9139a01e
    • A
      chore: add "components/" to package json files · 0541db0f
      Adam Bradley 提交于
      0541db0f
    • A
      5.5.0-0 · 200678a6
      Adam Bradley 提交于
      200678a6
    • A
      feat(custom-elements): export ionicons/components · 66556ea4
      Adam Bradley 提交于
      Also provide ionicons as a custom element which can be defined using `customElements.define()`
      
      ```
      import { IonIcon } from "ionicons/components/ion-icon";
      customElements.define("ion-icon", IonIcon);
      ```
      
      The custom element build works the same as the lazy load build, and is also able to lazy load svgs on demand, either by giving it an exact url in the `src` attribute `<ion-icon src="./path/to/airplane.svg"></ion-icon>`, or by providing the name of the ionicon to load `<ion-icon name="airplane"></ion-icon>`.
      
      If using the `name` attribute, you'll also need to set where to find the svg directory using `setAssetPath()`
      
      ```
      import { setAssetPath } from "ionicons/components";
      setAssetPath(location.href);
      ```
      66556ea4
  5. 27 1月, 2021 2 次提交
  6. 05 1月, 2021 2 次提交
  7. 08 10月, 2020 8 次提交
  8. 07 10月, 2020 8 次提交
  9. 06 10月, 2020 9 次提交
  10. 30 9月, 2020 1 次提交