Meta tags:
description= モダンなアプリを構築するためのウェブ開発フレームワーク;
author= Angular Team;
keywords= Angular framework, TypeScript, web development, hydration, Signals, standalone components, accessibility, performance;
Headings (most frequently used words):
community, validator, asyncvalidator, errors, abstractcontrol, 目次, api, description, social, media, resources, translations, constructor, value, parent, status, valid, invalid, pending, disabled, enabled, pristine, dirty, touched, untouched, events, valuechanges, statuschanges, updateon, setvalidators, setasyncvalidators, addvalidators, addasyncvalidators, removevalidators, removeasyncvalidators, hasvalidator, hasasyncvalidator, clearvalidators, clearasyncvalidators, markastouched, markallasdirty, markallastouched, markasuntouched, markasdirty, markaspristine, markaspending, disable, enable, setparent, setvalue, patchvalue, reset, getrawvalue, updatevalueandvalidity, seterrors, manually, set, the, for, control, get, geterror, haserror, root,
Text of the page (most frequently used words):
the (222), #control (126), undefined (116), boolean (97), void (77), any (76), when (55), angular (52), emitevent (50), value (47), this (45), validators (44), param (44), validator (43), returns (41), events (39), for (38), opts (38), onlyself (38), that (35), and (35), false (34), null (34), not (32), true (30), abstractcontrol (28), are (26), emits (25), new (24), string (22), default (22), asyncvalidatorfn (22), validatorfn (22), status (21), you (21), function (21), all (20), readonly (20), supplied (19), parent (19), formgroup (17), options (17), validation (17), path (16), errors (16), observable (16), marks (16), with (15), trawvalue (14), after (14), determine (14), sourcecontrol (14), add (14), formcontrol (13), how (13), has (13), event (13), changes (13), its (13), disabled (13), touched (13), testing (13), tvalue (12), controls (12), remove (12), time (12), must (12), reference (12), from (11), emitted (11), updatevalueandvalidity (11), ctrl (11), street (10), provided (10), const (10), configuration (10), propagates (10), pristine (10), effect (10), minvalidator (10), formarray (9), error (9), array (9), overloads (9), run (9), only (9), ancestors (9), children (9), object (9), enabled (9), property (9), call (9), asynchronous (9), method (8), address (8), number (8), ɵgetproperty (8), get (8), toequal (8), expect (8), updated (8), direct (8), applied (8), pending (8), take (8), forms (8), platform (8), browser (8), aria (8), dirty (7), valid (7), given (7), form (7), validationerrors (7), statuschanges (7), validity (7), abstract (7), mark (7), being (7), marking (7), hasvalidator (7), without (7), also (6), list (6), names (6), one (6), present (6), whether (6), check (6), will (6), login (6), set (6), valuechanges (6), untouched (6), synchronous (6), was (6), affecting (6), been (6), code (5), type (5), have (5), checks (5), current (5), usage (5), notes (5), seterrors (5), sets (5), emit (5), recalculates (5), tvaluewithoptionalcontrolstates (5), marked (5), other (5), functions (5), values (5), formcontrolstatus (5), upgrade (5), animations (5), common (5), cdk (5), sub (4), classes (4), class (4), root (4), example (4), errorcode (4), updates (4), latest (4), disable (4), pristinechangeevent (4), markastouched (4), touchedchangeevent (4), blur (4), change (4), found (4), compared (4), exact (4), same (4), min (4), required (4), removevalidators (4), existing (4), using (4), instead (4), yet (4), user (4), invalid (4), asyncvalidator (4), used (4), google (3), raw (3), getrawvalue (3), retrieves (3), would (3), reports (3), information (3), pass (3), setvalue (3), manually (3), note (3), calling (3), observables (3), update (3), implemented (3), aggregate (3), enable (3), async (3), markaspending (3), markaspristine (3), changed (3), markasdirty (3), markasuntouched (3), requiredvalidator (3), addasyncvalidators (3), added (3), addvalidators (3), multicasting (3), every (3), each (3), extends (3), dynamic (3), guide (3), router (3), core (3), menu (3), licensed (2), under (2), v22 (2), 日本語版 (2), community (2), first (2), parameter (2), represents (2), shared (2), like (2), running (2), state (2), base (2), ancestor (2), period (2), delimited (2), can (2), two (2), formats (2), following (2), returned (2), designates (2), move (2), should (2), queried (2), haserror (2), data (2), geterror (2), signature (2), supports (2), arrays (2), possible (2), child (2), name (2), shouldhaveemitted (2), notunique (2), reset (2), patchvalue (2), setparent (2), means (2), included (2), exempt (2), statuschangeevent (2), descendant (2), markallastouched (2), markallasdirty (2), empties (2), out (2), clearasyncvalidators (2), clearvalidators (2), presence (2), hasasyncvalidator (2), anonymous (2), inside (2), originally (2), ignored (2), removeasyncvalidators (2), adding (2), already (2), exists (2), instance (2), want (2), ones (2), consider (2), active (2), overwrites (2), setasyncvalidators (2), setvalidators (2), formhooks (2), updateon (2), happens (2), right (2), part (2), later (2), accessing (2), callback (2), might (2), result (2), getting (2), subscribe (2), triggered (2), asynchronously (2), multiple (2), single (2), composed (2), see (2), additional (2), compose (2), synchronously (2), key (2), pair (2), member (2), group (2), asyncvalidators (2), constructor (2), api (2), arrow_back (2), static (2), ssr (2), server (2), localize (2), signals (2), http (2), apiリファレンス (2), super, powered, 2010, 2026, documentation, built, mit, style, license, 正體中文版, 简体中文版, 한국어, русский, türkçe, español, azərbaycanca, translations, roadmap, press, kit, resources, developer, experts, devlibrary, report, issues, conduct, contribute, stack, overflow, github, discord, youtube, bluesky, formerly, twitter, blog, social, media, jump, details, optional, provides, some, behavior, groups, calculating, resetting, defines, properties, between, shouldn, instantiated, directly, description, top, level, specified, particular, non, mutable, inferred, robust, prefer, strings, foo, bar, someotherlogin, somelogin, always, overwritten, results, next, validations, rather, than, automatically, most, implementations, include, resets, patches, configure, enables, based, disables, excluded, while, performs, becomes, through, compare, focus, duplicate, strategy, meaning, which, itself, submit, programmatically, passing, along, argument, types, once, containing, generated, failing, there, long, their, initialize, トップに戻る, arrow_upward_alt, reactive, stable, version, valuechangeevent, untypedformgroup, untypedformcontrol, untypedformbuilder, untypedformarray, setdisabledstateoption, selectmultiplecontrolvalueaccessor, selectcontrolvalueaccessor, reactiveformsmodule, rangevalueaccessor, radiocontrolvalueaccessor, patternvalidator, numbervalueaccessor, nonnullableformbuilder, ngselectoption, ngmodelgroup, ngmodel, ngform, ngcontrolstatusgroup, ngcontrolstatus, ngcontrol, ng_value_accessor, ng_validators, ng_async_validators, minlengthvalidator, maxvalidator, maxlengthvalidator, isformrecord, isformgroup, isformcontrol, isformarray, formsubmittedevent, formsmodule, formresetevent, formrecord, formgroupname, formgroupdirective, formcontrolstate, formcontroloptions, formcontrolname, formcontroldirective, formbuilder, formarrayname, formarraydirective, emailvalidator, defaultvalueaccessor, controlvalueaccessor, controlevent, controlcontainer, controlconfig, composition_buffer_mode, checkboxrequiredvalidator, checkboxcontrolvalueaccessor, abstractformgroupdirective, abstractformdirective, abstractcontroloptions, abstractcontroldirective, window, globals, node, service, worker, init, compat, elements, rxjs, interop, testbed, selenium, webdriver, protractor, drag, drop, tree, toolbar, tabs, listbox, grid, combobox, accordion, マイグレーション, アップデートガイド, バージョン互換性, バージョニングとリリース, 拡張診断, エラー百科辞典, cliリファレンス, 開発に参加する, ロードマップ, more_horiz, 資料集, ガイド, close, skip, main, content,
Text of the page (random words):
validators void add an asynchronous validator or validators to this control without affecting other validators when you add or remove a validator at run time you must call updatevalueandvalidity for the new validation to take effect adding a validator that already exists will have no effect param validators asyncvalidatorfn asyncvalidatorfn the new asynchronous validator function or functions to add to this control returns void removevalidators void remove a synchronous validator from this control without affecting other validators validators are compared by function reference you must pass a reference to the exact same validator function as the one that was originally set if a provided validator is not found it is ignored param validators validatorfn validatorfn the validator or validators to remove returns void usage notes reference to the requiredvalidator const ctrl new formcontrol string null validators required ctrl removevalidators validators required reference to anonymous function inside minvalidator const minvalidator validators min 3 const ctrl new formcontrol string null minvalidator expect ctrl hasvalidator minvalidator toequal true expect ctrl hasvalidator validators min 3 toequal false ctrl removevalidators minvalidator when you add or remove a validator at run time you must call updatevalueandvalidity for the new validation to take effect removeasyncvalidators void remove an asynchronous validator from this control without affecting other validators validators are compared by function reference you must pass a reference to the exact same validator function as the one that was originally set if a provided validator is not found it is ignored when you add or remove a validator at run time you must call updatevalueandvalidity for the new validation to take effect param validators asyncvalidatorfn asyncvalidatorfn the asynchronous validator or validators to remove returns void hasvalidator boolean check whether a synchronous validator function is present on this control the provided validator must be a reference to the exact same function that was provided param validator validatorfn the validator to check for presence compared by function reference returns boolean whether the provided validator was found on this control usage notes reference to the requiredvalidator const ctrl new formcontrol number null 0 validators required expect ctrl hasvalidator validators required toequal true reference to anonymous function inside minvalidator const minvalidator validators min 3 const ctrl new formcontrol number null 0 minvalidator expect ctrl hasvalidator minvalidator toequal true expect ctrl hasvalidator validators min 3 toequal false hasasyncvalidator boolean check whether an asynchronous validator function is present on this control the provided validator must be a reference to the exact same function that was provided param validator asyncvalidatorfn the asynchronous validator to check for presence compared by function reference returns boolean whether the provided asynchronous validator was found on this control clearvalidators void empties out the synchronous validator list when you add or remove a validator at run time you must call updatevalueandvalidity for the new validation to take effect returns void clearasyncvalidators void empties out the async validator list when you add or remove a validator at run time you must call updatevalueandvalidity for the new validation to take effect returns void markastouched 2 overloads marks the control as touched a control is touched by focus and blur events that do not change the value param opts onlyself boolean undefined emitevent boolean undefined undefined configuration options that determine how the control propagates changes and emits events after marking is applied onlyself when true mark only this control when false or not supplied marks all direct ancestors default is false emitevent when true or not supplied the default the events observable emits a touchedchangeevent with the touched property being true when false no events are emitted returns void param opts onlyself boolean undefined emitevent boolean undefined sourcecontrol abstractcontrol any any any undefined undefined returns void markallasdirty void marks the control and all its descendant controls as dirty param opts emitevent boolean undefined configuration options that determine how the control propagates changes and emits events after marking is applied emitevent when true or not supplied the default the events observable emits a pristinechangeevent with the pristine property being false when false no events are emitted returns void markallastouched void marks the control and all its descendant controls as touched param opts emitevent boolean undefined configuration options that determine how the control propagates changes and emits events after marking is applied emitevent when true or not supplied the default the events observable emits a touchedchangeevent with the touched property being true when false no events are emitted returns void markasuntouched 2 overloads marks the control as untouched if the control has any children also marks all children as untouched and recalculates the touched status of all parent controls param opts onlyself boolean undefined emitevent boolean undefined undefined configuration options that determine how the control propagates changes and emits events after the marking is applied onlyself when true mark only this control when false or not supplied marks all direct ancestors default is false emitevent when true or not supplied the default the events observable emits a touchedchangeevent with the touched property being false when false no events are emitted returns void param opts onlyself boolean undefined emitevent boolean undefined sourcecontrol abstractcontrol any any any undefined returns void markasdirty 2 overloads marks the control as dirty a control becomes dirty when the control s value is changed through the ui compare markastouched param opts onlyself boolean undefined emitevent boolean undefined undefined configuration options that determine how the control propagates changes and emits events after marking is applied onlyself when true mark only this control when false or not supplied marks all direct ancestors default is false emitevent when true or not supplied the default the events observable emits a pristinechangeevent with the pristine property being false when false no events are emitted returns void param opts onlyself boolean undefined emitevent boolean undefined sourcecontrol abstractcontrol any any any undefined returns void markaspristine 2 overloads marks the control as pristine if the control has any children marks all children as pristine and recalculates the pristine status of all parent controls param opts onlyself boolean undefined emitevent boolean undefined undefined configuration options that determine how the control emits events after marking is applied onlyself when true mark only this control when false or not supplied marks all direct ancestors default is false emitevent when true or not supplied the default the events observable emits a pristinechangeevent with the pristine property being true when false no events are emitted returns void param opts onlyself boolean undefined emitevent boolean undefined sourcecontrol abstractcontrol any any any undefined returns void markaspending 2 overloads marks the control as pending a control is pending while the control performs async validation param opts onlyself boolean undefined emitevent boolean undefined undefined configuration options that determine how the control propagates changes and emits events after marking is applied onlyself when true mark only this control when false or not supplied marks all direct ancestors default is false emitevent when true or not supplied the default the statuschanges observable emits an event with the latest status the control is marked pending and the events observable emits a statuschangeevent with the status property being pending when false no events are emitted returns void param opts onlyself boolean undefined emitevent boolean undefined sourcecontrol abstractcontrol any any any undefined returns void disable 2 overloads disables the control this means the control is exempt from validation checks and excluded from the aggregate value of any parent its status is disabled if the control has children all children are also disabled param opts onlyself boolean undefined emitevent boolean undefined undefined configuration options that determine how the control propagates changes and emits events after the control is disabled onlyself when true mark only this control when false or not supplied marks all direct ancestors default is false emitevent when true or not supplied the default the statuschanges valuechanges and events observables emit events with the latest status and value when the control is disabled when false no events are emitted returns void param opts onlyself boolean undefined emitevent boolean undefined sourcecontrol abstractcontrol any any any undefined returns void enable void enables the control this means the control is included in validation checks and the aggregate value of its parent its status recalculates based on its value and its validators by default if the control has children all children are enabled param opts onlyself boolean undefined emitevent boolean undefined configure options that control how the control propagates changes and emits events when marked as untouched onlyself when true mark only this control when false or not supplied marks all direct ancestors default is false emitevent when true or not supplied the default the statuschanges valuechanges and events observables emit events with the latest status and value when the control is enabled when false no events are emitted returns void setparent void sets the parent of the control param parent formgroup any formarray any null the new parent returns void setvalue void sets the value of the control abstract method implemented in sub classes param value trawvalue param options object undefined returns void patchvalue void patches the value of the control abstract method implemented in sub classes param value tvalue param options object undefined returns void reset void resets the control abstract method implemented in sub classes param value tvaluewithoptionalcontrolstates undefined param options object undefined returns void getrawvalue any the raw value of this control for most control implementations the raw value will include disabled children returns any updatevalueandvalidity 2 overloads recalculates the value and validation status of the control by default it also updates the value and validity of its ancestors param opts onlyself boolean undefined emitevent boolean undefined undefined configuration options determine how the control propagates changes and emits events after updates and validity checks are applied onlyself when true only update this control when false or not supplied update all direct ancestors default is false emitevent when true or not supplied the default the statuschanges valuechanges and events observables emit events with the latest status and value when the control is updated when false no events are emitted returns void param opts onlyself boolean undefined emitevent boolean undefined sourcecontrol abstractcontrol any any any undefined returns void seterrors 2 overloads sets errors on a form control when running validations manually rather than automatically calling seterrors also updates the validity of the parent control note manually set errors are always overwritten by the results of the next validation run param errors validationerrors null param opts emitevent boolean undefined undefined configuration options that determine how the control propagates changes and emits events after the control errors are set emitevent when true or not supplied the default the statuschanges observable emits an event after the errors are set returns void usage notes manually set the errors for a control const login new formcontrol somelogin login seterrors notunique true expect login valid toequal false expect login errors toequal notunique true login setvalue someotherlogin expect login valid toequal true param errors validationerrors null param opts emitevent boolean undefined shouldhaveemitted boolean undefined undefined returns void get 2 overloads retrieves a child control given the control s name or path this signature for get supports strings and const arrays get foo bar as const param path p returns abstractcontrol ɵgetproperty trawvalue p ɵgetproperty trawvalue p any null retrieves a child control given the control s name or path this signature for get supports non const mutable arrays inferred type information will not be as robust so prefer to pass a readonly array if possible param path p returns abstractcontrol ɵgetproperty trawvalue p ɵgetproperty trawvalue p any null geterror any reports error data for the control with the given path param errorcode string the code of the error to check param path string string number undefined a list of control names that designates how to move from the current control to the control that should be queried for errors returns any error data for that particular error if the control or error is not present null is returned usage notes for example for the following formgroup form new formgroup address new formgroup street new formcontrol the path to the street control from the root form would be address street it can be provided to this method in one of two formats an array of string control names e g address street a period delimited list of control names in one string e g address street haserror boolean reports whether the control with the given path has the error specified param errorcode string the code of the error to check param path string string number undefined a list of control names that designates how to move from the current control to the control that should be queried for errors returns boolean whether the given error is present in the control at the given path if the control is not present false is returned usage notes for example for the following formgroup form new formgroup address new formgroup street new formcontrol the path to the street control from the root form would be address street it can be provided to this method in one of two formats an array of string control names e g address street a period delimited list of control names in one string e g address street if no path is given this method checks for the error on the current control root abstractcontrol any any any retrieves the top level ancestor of this control description this is the base class for formcontrol formgroup and formarray it provides some of the shared behavior that all controls and groups of controls have like running validators calculating status and resetting state it also defines the prop...
|