PageSourceSearch

https://egalite-femmes-hommes.gouv.fr/libraries/dsfr/dist/component/tag/tag.module.min.js?tm8ex6

js egalite-femmes-hommes.gouv.fr collected 2026-10-02 03:20:52 UTC 1,132 bytes, 3 lines download raw bytes

vendor: 1,132 bytes, lines 1-3
1/*! DSFR v1.15.1 | SPDX-License-Identifier: Etalab-2.0 | License-Filename: LICENSE.md | restricted use (see terms and conditions) */
2const e=window.dsfr,s={DISMISS:e.internals.ns.event("dismiss")};class t extends e.core.Instance{static get instanceClassName(){return"TagDismissible"}init(){this.listenClick()}handleClick(){switch(this.focusClosest(),e.mode){case e.Modes.ANGULAR:case e.Modes.REACT:case e.Modes.VUE:this.request(this.verify.bind(this));break;default:this.remove()}this.dispatch(s.DISMISS)}verify(){document.body.contains(this.node)&&this.warn(`a TagDismissible has just been dismissed and should be removed from the dom. In ${e.mode} mode, the api doesn't handle dom modification. An event ${s.DISMISS} is dispatched by the element to trigger the removal`)}}const i={PRESSABLE:`${e.internals.ns.selector("tag")}[aria-pressed]`,DISMISSIBLE:`${e.internals.ns.selector("tag--dismiss")}`};e.tag={TagDismissible:t,TagSelector:i,TagEvent:s},e.internals.register(e.tag.TagSelector.PRESSABLE,e.core.Toggle),e.internals.register(e.tag.TagSelector.DISMISSIBLE,e.tag.TagDismissible);
3//# sourceMappingURL=tag.module.min.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.