angular_ts
Types
pub type CookieOptions =
cookie.CookieOptions
pub type CookieStoreOptions =
cookie.CookieStoreOptions
pub type CurrencyFilterOptions =
filters.CurrencyFilterOptions
pub type DateFilterOptions =
filters.DateFilterOptions
pub type Element =
dynamic.Dynamic
pub type EntryFilterItem(key, value) =
filters.EntryFilterItem(key, value)
pub type HttpMethod =
http.HttpMethod
pub type HttpRequestConfig =
http.HttpRequestConfig
pub type HttpRequestOptions =
http.HttpRequestOptions
pub type Injectable(value) =
injectable.Injectable(value)
pub type Injector =
namespace.InjectorService(dynamic.Dynamic)
pub type NgModule =
module.NgModule
pub type NumberFilterOptions =
filters.NumberFilterOptions
pub type RelativeTimeFilterOptions =
filters.RelativeTimeFilterOptions
pub type StorageBackend =
storage.StorageBackend
pub type StorageType =
storage.StorageType
pub type Token(value) =
token.Token(value)
pub type WasmBinding =
dynamic.Dynamic
pub type WasmBindingOptions =
dynamic.Dynamic
pub type WasmError =
dynamic.Dynamic
pub type WasmErrorCode =
dynamic.Dynamic
pub type WasmLoadOptions =
dynamic.Dynamic
pub type WasmResource =
dynamic.Dynamic
pub type WasmResourceStatus =
dynamic.Dynamic
pub type WasmService =
dynamic.Dynamic
pub type WasmSource =
dynamic.Dynamic
pub type WasmTarget =
dynamic.Dynamic
pub type WorkerConfig(receive) =
worker.WorkerConfig(receive)
pub type WorkerError =
namespace.WorkerError
pub type WorkerErrorCode =
namespace.WorkerErrorCode
pub type WorkerHandle(send, receive) =
namespace.WorkerHandle(send, receive)
pub type WorkerModelMessage(model) =
namespace.WorkerModelMessage(model)
pub type WorkerRequest(payload) =
namespace.WorkerRequest(payload)
pub type WorkerRequestOptions =
worker.WorkerRequestOptions
pub type WorkerResponse(result) =
namespace.WorkerResponse(result)
pub type WorkerService =
namespace.WorkerService
pub type WorkerStatus =
namespace.WorkerStatus
Values
pub fn bootstrap(
root: dynamic.Dynamic,
modules: List(String),
) -> namespace.InjectorService(dynamic.Dynamic)
pub fn bootstrap_body(
app: module.NgModule,
) -> namespace.InjectorService(dynamic.Dynamic)
pub fn inject0(
factory: fn() -> value,
) -> injectable.Injectable(value)
pub fn inject1(
token_a: token.Token(a),
factory: fn(a) -> value,
) -> injectable.Injectable(value)
pub fn inject2(
token_a: token.Token(a),
token_b: token.Token(b),
factory: fn(a, b) -> value,
) -> injectable.Injectable(value)
pub fn module(name: String) -> module.NgModule
pub fn module_with_requires(
name: String,
requires: List(String),
) -> module.NgModule
pub fn token(name: String) -> token.Token(value)