Liking cljdoc? Tell your friends :D

oops.core

clj

Public macros to be consumed via core.cljs.

Public macros to be consumed via core.cljs.
cljs

The main namespace to be consumed by library users from ClojureScript. Provides core macros via core.clj and runtime support (see runtime.clj).

(ns your-project.namespace (:require [oops.core :refer [oget oset! ocall oapply ocall! oapply! oget+ oset!+ ocall+ oapply+ ocall!+ oapply!+ gget gset! gcall gapply gcall! gapply! gget+ gset!+ gcall+ gapply+ gcall!+ gapply!+]]))

(oset! (js-obj) :mood "a happy camper")

Read about usage: https://github.com/binaryage/cljs-oops

The main namespace to be consumed by library users from ClojureScript.
Provides core macros via core.clj and runtime support (see runtime.clj).

  (ns your-project.namespace
      (:require [oops.core :refer [oget oset! ocall oapply ocall! oapply!
                                   oget+ oset!+ ocall+ oapply+ ocall!+ oapply!+
                                   gget gset! gcall gapply gcall! gapply!
                                   gget+ gset!+ gcall+ gapply+ gcall!+ gapply!+]]))

  (oset! (js-obj) :mood "a happy camper")

Read about usage: https://github.com/binaryage/cljs-oops
raw docstring

anything?clj

(anything? _)
source

api-specclj/smacro

(api-spec obj? args)
source

build-path-dynamicallycljs

(build-path-dynamically selector)
source

check-path-dynamicallycljs

(check-path-dynamically path op)
source

g-apiclj/smacro

(g-api args)
source

gapplyclj/smacro

(gapply & args)
source

gapply!clj/smacro

(gapply! & args)
source

gapply!+clj/smacro

(gapply!+ & args)
source

gapply+clj/smacro

(gapply+ & args)
source

gapply-apiclj

source

gcallclj/smacro

(gcall & args)
source

gcall!clj/smacro

(gcall! & args)
source

gcall!+clj/smacro

(gcall!+ & args)
source

gcall+clj/smacro

(gcall+ & args)
source

gcall-apiclj

source

get-key-dynamicallycljs

(get-key-dynamically obj key mode)
source

get-selector-call-info-dynamicallycljs

(get-selector-call-info-dynamically obj selector)
source

get-selector-dynamicallycljs

(get-selector-dynamically obj selector)
source

ggetclj/smacro

(gget & args)
source

gget+clj/smacro

(gget+ & args)
source

gget-apiclj

source

gset!clj/smacro

(gset! & args)
source

gset!+clj/smacro

(gset!+ & args)
source

gset-apiclj

source

o-apiclj/smacro

(o-api args)
source

oapplyclj/smacro

(oapply obj & selector+args)
source

oapply!clj/smacro

(oapply! obj & selector+args)

This macro is identical to oapply, use it if you want to express a side-effecting call.

This macro is identical to oapply, use it if you want to express a side-effecting call.
sourceraw docstring

oapply!+clj/smacro

(oapply!+ obj & selector+args)

This macro is identical to oapply, use it if you want to express a side-effecting call.

This macro is identical to oapply, use it if you want to express a side-effecting call.
sourceraw docstring

oapply+clj/smacro

(oapply+ obj & selector+args)
source

oapply-apiclj

source

oapply-argsclj

source

ocallclj/smacro

(ocall obj selector & args)
source

ocall!clj/smacro

(ocall! obj selector & args)

This macro is identical to ocall, use it if you want to express a side-effecting call.

This macro is identical to ocall, use it if you want to express a side-effecting call.
sourceraw docstring

ocall!+clj/smacro

(ocall!+ obj selector & args)

This macro is identical to ocall, use it if you want to express a side-effecting call.

This macro is identical to ocall, use it if you want to express a side-effecting call.
sourceraw docstring

ocall+clj/smacro

(ocall+ obj selector & args)
source

ocall-apiclj

source

ocall-argsclj

source

ogetclj/smacro

(oget obj & selector)
source

oget+clj/smacro

(oget+ obj & selector)
source

oget-apiclj

source

oget-argsclj

source

oset!clj/smacro

(oset! obj & selector+val)
source

oset!+clj/smacro

(oset!+ obj & selector+val)
source

oset-apiclj

source

oset-argsclj

source

punch-key-dynamically!cljs

(punch-key-dynamically! obj key)
source

report-error-dynamicallycljs

(report-error-dynamically msg data)
source

report-if-needed-dynamicallycljs

(report-if-needed-dynamically msg-id & [info])
source

report-warning-dynamicallycljs

(report-warning-dynamically msg data)
source

set-key-dynamicallycljs

(set-key-dynamically obj key val mode)
source

set-selector-dynamicallycljs

(set-selector-dynamically obj selector val)
source

validate-fn-call-dynamicallycljs

(validate-fn-call-dynamically fn mode)
source

validate-object-access-dynamicallycljs

(validate-object-access-dynamically obj
                                    mode
                                    key
                                    push?
                                    check-key-read?
                                    check-key-write?)
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close